|
From: | Anthony Liguori |
Subject: | Re: [Qemu-devel] [HACK] make vmmouse work with KVM |
Date: | Mon, 17 Aug 2009 10:11:11 -0500 |
User-agent: | Thunderbird 2.0.0.21 (X11/20090320) |
Reimar Döffinger wrote:
Hello, vmmouse uses a giant hack: it uses io ports (in instruction) but passes data via registers. This currently does not work since the qemu CPU registers are (understandably) not kept in sync with the real KVM registers for this operation. Attached patch detects access to the vmmouse port and loads/stores CPU registers into/from the QEMU state.
Should use cpu_synchronize_state() in vmport.c
Signed-off-by: Reimar Döffinger <address@hidden>
Regards, Anthony Liguori
[Prev in Thread] | Current Thread | [Next in Thread] |