qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Re: [RfC PATCH] qdev: rework device properties.


From: Paul Brook
Subject: Re: [Qemu-devel] Re: [RfC PATCH] qdev: rework device properties.
Date: Tue, 30 Jun 2009 15:15:43 +0100
User-agent: KMail/1.11.4 (Linux/2.6.29-2-amd64; KDE/4.2.4; x86_64; ; )

> What I want to do, to make usb modular I need two things:
>
> a- a way to defino an alias, that "mouse" is equivalent to "QEMU USB
>    Keyboard".  One is the qdev name and the other is the name passed to
>    --usbdevice name.

I'm not too bothered about this. We're changing the option, so I don't see any 
particular problem with changing the device names at the same time.

> b- things like disk are composed of:
>    "disk" : "rest of disk arguments"
>
>    My plan was to add both of them as properties or similar.  Any better
>    idea?  I can put it in one struct or similar, but it is not trivial
>    to find where to put things really, because the "mouse" part is
>    filled in usb-hid.c or equivalent, and the "disk" arguments part is
>    filled in vl.c

I think this is confusing host configuration with machine configuration. This 
has been discussed before.

Paul




reply via email to

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