[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Re: [PATCH 1/8] qdev: Allow device addressing via 'driver.i
[Qemu-devel] Re: [PATCH 1/8] qdev: Allow device addressing via 'driver.instance'
Tue, 18 May 2010 15:06:32 +0200
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:22.214.171.124) Gecko/20100430 Fedora/3.0.4-2.fc12 Thunderbird/3.0.4
Agreed. The problem here is that we sent the instance_id on the wire,
so for "legacy" devices that used an instance_id != -1, we are stuck
with it :(
Another way would be to fill the instance id with something useful, say
encode the pci address there for pci devices. That should be good
enough to reliably identify devices even after hot-plugging them in and out.
Of course this has transition isses too. But maybe it is easier to
handle than replacing instance_id with something entirely different.
And it also makes the instance id less useful to address devices in a
[Qemu-devel] [PATCH 5/8] qmp: Teach basic capability negotiation to python example, Jan Kiszka, 2010/05/14
[Qemu-devel] [PATCH 4/8] monitor: Add basic device state visualization, Jan Kiszka, 2010/05/14
[Qemu-devel] [PATCH 7/8] Add QLIST_INSERT_TAIL, Jan Kiszka, 2010/05/14
[Qemu-devel] [PATCH 2/8] Add base64 encoder/decoder, Jan Kiszka, 2010/05/14