Displaying 1 result from an estimated 1 matches for "vgcf_vmx_guest".
Did you mean:
vgcf_hvm_guest
2005 Sep 29
0
RE: [PATCH] [VT] SMP VMX guest AP bring up need calldo_boot_vcpu in hypervisor
...domain.c
>--- a/xen/common/domain.c Wed Sep 28 21:18:30 2005
>+++ b/xen/common/domain.c Thu Sep 29 07:00:15 2005
>@@ -390,8 +390,9 @@
> goto out;
> }
>
>- if ( copy_from_user(c, ctxt, sizeof(*c)) )
>- {
>+ if (vcpu && (ctxt->flags & VGCF_VMX_GUEST)) {
>+ memcpy(c, ctxt, sizeof(*c));
>+ } else if ( copy_from_user(c, ctxt, sizeof(*c)) ) {
> rc = -EFAULT;
> goto out;
> }
>
>_______________________________________________
>Xen-devel mailing list
>Xen-devel@lists.xensource.com
>http://li...