Fix vmmouse for 64bit guest, by Dan Kenigsberg.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3374 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
ab19cb4129
commit
6dab28d5b5
|
@ -52,7 +52,7 @@ static uint32_t vmport_ioport_read(void *opaque, uint32_t addr)
|
||||||
{
|
{
|
||||||
VMPortState *s = opaque;
|
VMPortState *s = opaque;
|
||||||
unsigned char command;
|
unsigned char command;
|
||||||
target_ulong eax;
|
uint32_t eax;
|
||||||
|
|
||||||
eax = s->env->regs[R_EAX];
|
eax = s->env->regs[R_EAX];
|
||||||
if (eax != VMPORT_MAGIC)
|
if (eax != VMPORT_MAGIC)
|
||||||
|
|
Loading…
Reference in a new issue