Allow direct guest access to PC debug port
PATCH 1/1 Allow direct guest access to PC debug port
This was inspired by Qing He's similar patch for VT.
Regards,
Anthony Liguori
Subject: [PATCH][SVM] Allow direct guest access to PC debug port
From: Anthony Liguori <aliguori-r/[email protected]>
The PC debug port is used for IO delay and does not require emulation.
drivers/kvm/svm.c +5 -3
@@ -377,7 +377,7 @@int cpu;struct page *iopm_pages;struct page *msrpm_pages; -void *msrpm_va; +void *iopm_va, *msrpm_va;int r;kvm_emulator_want_group7_invlpg ();
@@ -386,8 +386,10 @@if (!iopm_pages)return -ENOMEM ; -memset (page_address (iopm_pages),0xff , -PAGE_SIZE * (1 <<IOPM_ALLOC_ORDER )); + + iopm_va =page_address (iopm_pages); +memset (iopm_va,0xff ,PAGE_SIZE * (1 <<IOPM_ALLOC_ORDER )); +clear_bit (0x80 , iopm_va);/* allow direct access to PC debug port */ iopm_base =page_to_pfn (iopm_pages) <<PAGE_SHIFT ;
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
kvm-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel
A message that is not in the archive (sent off-list or not yet received): 4634CCFC.40507-r/[email protected]
Avi Kivity
AppliedQuoted 2 lines · Anthony Liguori
This was inspired by Qing He's similar patch for VT.
Applied, thanks.
Signature · 8 lines
error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/