aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2010-02-08 10:06:54 -0600
committerAnthony Liguori <aliguori@us.ibm.com>2010-02-08 10:06:54 -0600
commit8217d945860c546844807e22088e8a7d97836aff (patch)
treeb30fa9e9ac08830317d4314c4e11374bc286c813 /hw
parent4cb26382182bf5256de1d9058739946d922e9f49 (diff)
parentc5f32c99c6855d466737daf1cd262e7e92062f87 (diff)
Merge remote branch 'qemu-kvm/uq/master' into staging-tmp
Diffstat (limited to 'hw')
-rw-r--r--hw/vmport.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/vmport.c b/hw/vmport.c
index 884af3fd91..6c9d7c9651 100644
--- a/hw/vmport.c
+++ b/hw/vmport.c
@@ -25,6 +25,7 @@
#include "isa.h"
#include "pc.h"
#include "sysemu.h"
+#include "kvm.h"
//#define VMPORT_DEBUG
@@ -58,6 +59,8 @@ static uint32_t vmport_ioport_read(void *opaque, uint32_t addr)
unsigned char command;
uint32_t eax;
+ cpu_synchronize_state(env);
+
eax = env->regs[R_EAX];
if (eax != VMPORT_MAGIC)
return eax;