There's no way for Xen to know or for such a qemu to tell us.

Signed-off-by: Jan Beulich <[email protected]>
---
RFC: This implies only patched qemu-trad or ioreq-server-aware
     qemu-upstream get used with xen-unstable. Is this reasonable?

--- a/xen/arch/x86/hvm/hvm.c
+++ b/xen/arch/x86/hvm/hvm.c
@@ -1040,7 +1040,7 @@ static int hvm_ioreq_server_init(struct 
     if ( rc )
         return rc;
 
-    if ( bufioreq_handling == HVM_IOREQSRV_BUFIOREQ_ATOMIC )
+    if ( bufioreq_handling == HVM_IOREQSRV_BUFIOREQ_ATOMIC || is_default )
         s->bufioreq_atomic = 1;
 
     rc = hvm_ioreq_server_setup_pages(



x86/HVM: assume default ioreq servers follow new bufioreq pointer access model

There's no way for Xen to know or for such a qemu to tell us.

Signed-off-by: Jan Beulich <[email protected]>
---
RFC: This implies only patched qemu-trad or ioreq-server-aware
     qemu-upstream get used with xen-unstable. Is this reasonable?

--- a/xen/arch/x86/hvm/hvm.c
+++ b/xen/arch/x86/hvm/hvm.c
@@ -1040,7 +1040,7 @@ static int hvm_ioreq_server_init(struct 
     if ( rc )
         return rc;
 
-    if ( bufioreq_handling == HVM_IOREQSRV_BUFIOREQ_ATOMIC )
+    if ( bufioreq_handling == HVM_IOREQSRV_BUFIOREQ_ATOMIC || is_default )
         s->bufioreq_atomic = 1;
 
     rc = hvm_ioreq_server_setup_pages(
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

Reply via email to