|
|
|
|
|
|
|
|
|
|
xen-devel
RE: [Xen-devel] [PATCH 00 of 20] Rebased Nested VMX v2
>
> Eddie, I've queued up 01-19 ready to be committed. Patch 20 still has
> some MSRs that are passed through directly from the host, which I think
> needs to be fixed. I'd prefer just a new patch 20 rather than a new
> drop of the whole series next time, to save me having to re-check
> 01-19.
>
Thanks, Tim. I have reposted patch 20.
BTW, here is a bug fix to patch 17.
Eddie
Filter out the high bit in indexing from port # to iobitmap
Signed-off-by: Eddie Dong <eddie.dong@xxxxxxxxx>
diff -r 4e1760dc3134 xen/arch/x86/hvm/vmx/vvmx.c
--- a/xen/arch/x86/hvm/vmx/vvmx.c Tue Jun 14 10:33:59 2011 +0800
+++ b/xen/arch/x86/hvm/vmx/vvmx.c Tue Jun 14 10:53:20 2011 +0800
@@ -1531,7 +1531,7 @@ if (debug_nested_event) {
{
port = __vmread(EXIT_QUALIFICATION) >> 16;
bitmap = nvmx->iobitmap[port >> 15];
- if ( bitmap[(port <<1) >> 4] & (1 << (port & 0x7)) )
+ if ( bitmap[(port & 0x7fff) >> 4] & (1 << (port & 0x7)) )
nvcpu->nv_vmexit_pending = 1;
if ( !nvcpu->nv_vmexit_pending )
gdprintk(XENLOG_WARNING, "L0 PIO %x.\n", port);
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|