[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [HACK] make vmmouse work with KVM

From: Reimar Döffinger
Subject: Re: [Qemu-devel] [HACK] make vmmouse work with KVM
Date: Mon, 17 Aug 2009 17:45:57 +0200
User-agent: Mutt/1.5.20 (2009-06-14)

On Mon, Aug 17, 2009 at 10:11:11AM -0500, Anthony Liguori wrote:
> 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

Ah, missed that function...
Does attached patch look good?

Attachment: kvm_vmmouse.diff
Description: Text document

reply via email to

[Prev in Thread] Current Thread [Next in Thread]