KVM: Make vmport KVM-compatible
authorJan Kiszka <jan.kiszka@siemens.com>
Wed, 3 Feb 2010 20:16:41 +0000 (21:16 +0100)
committerMarcelo Tosatti <mtosatti@redhat.com>
Wed, 3 Feb 2010 21:47:34 +0000 (19:47 -0200)
commit03c63b945239dc4abcf3a687beda6eb3b0cd69bc
tree481cc7a0bb902df8a251daa1aac457229a309dbc
parent19ccb8ea1799f6f29ba5bc37d5f18dc8050d4029
KVM: Make vmport KVM-compatible

The vmport "device" accesses the VCPU registers, so it requires proper
cpu_synchronize_state. Add it to vmport_ioport_read, which also
synchronizes vmport_ioport_write.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
hw/vmport.c