Absolutely must not return to HVM guest context until

synchronous I/O emulation is completed.

Signed-off-by: Keir Fraser <keir@xensource.com>
This commit is contained in:
kaf24@firebug.cl.cam.ac.uk committed 2006-02-13 12:16:16 +01:00
1 parent 11a47e4094
commit 55c5cfb9b4
2 files changed
+4 -2

No files matched your search

+2 -1
View File
@@ -489,7 +489,8 @@ void svm_do_resume(struct vcpu *v)
{
struct hvm_virpit *vpit = &v->domain->arch.hvm_domain.vpit;
if ( event_pending(v) )
if ( event_pending(v) ||
test_bit(ARCH_HVM_IO_WAIT, &v->arch.hvm_vcpu.ioflags) )
hvm_wait_io();
/* pick up the elapsed PIT ticks and re-enable pit_timer */
+2 -1
View File
@@ -177,7 +177,8 @@ void vmx_do_resume(struct vcpu *v)
vmx_stts();
if ( event_pending(v) )
if ( event_pending(v) ||
test_bit(ARCH_HVM_IO_WAIT, &v->arch.hvm_vcpu.ioflags) )
hvm_wait_io();
/* pick up the elapsed PIT ticks and re-enable pit_timer */
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.