|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] x86_64: fix error checking in arch_set_in
# HG changeset patch
# User Tim Deegan <Tim.Deegan@xxxxxxxxxx>
# Date 1300121989 0
# Node ID c79aae866ad8397e129b5801f8f97f604743a7c2
# Parent 84bacd800bf88e37434d49547ad8224be46e2a52
x86_64: fix error checking in arch_set_info_guest()
Cannot specify user mode execution without specifying user-mode
pagetables.
Signed-off-by: Tim Deegan <Tim.Deegan@xxxxxxxxxx>
Acked-by: Keir Fraser <keir@xxxxxxx>
---
diff -r 84bacd800bf8 -r c79aae866ad8 xen/arch/x86/domain.c
--- a/xen/arch/x86/domain.c Sat Mar 12 13:20:51 2011 +0000
+++ b/xen/arch/x86/domain.c Mon Mar 14 16:59:49 2011 +0000
@@ -820,6 +820,11 @@
v->arch.guest_table_user = pagetable_from_pfn(cr3_pfn);
}
+ else if ( !(flags & VGCF_in_kernel) )
+ {
+ destroy_gdt(v);
+ return -EINVAL;
+ }
}
else
{
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] x86_64: fix error checking in arch_set_info_guest(),
Xen patchbot-unstable <=
|
|
|
|
|