[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] QOM-ify QemuConsoles ...
From: |
Andreas Färber |
Subject: |
Re: [Qemu-devel] QOM-ify QemuConsoles ... |
Date: |
Wed, 20 Mar 2013 14:39:09 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130307 Thunderbird/17.0.4 |
Hi Gerd,
Am 20.03.2013 10:55, schrieb Gerd Hoffmann:
> I think the next logical step ahead is to QOM-ify the QemuConsoles, so
> we can link the QemuConsole to the thing actually backing it. For a
> graphical console that would be the emlated graphic device. For a text
> console it would be the serial line or monitor hooked up to it.
>
> With this in place we should be able to answer questions like "which
> device backs this QemuConsole" by inspecting the object tree and handle
> requests like "do a screendump of this device please". It will also be
> useful to setup input routing: "pointer events from $this QemuConsole
> should to $that virtual input device".
>
> Hints how to do that best? Pointers to sample code to look at? From a
> brief look it seems we only QOM-ified emulated devices and not host-side
> objects yet ...
You could look at virtio-rng. TPM doesn't use QOM yet AFAIR.
Cheers,
Andreas
--
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg