|
From: | Gerd Hoffmann |
Subject: | Re: [Qemu-devel] Re: [PATCH 0/10] qdev patches. |
Date: | Mon, 22 Jun 2009 15:45:21 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1b3pre) Gecko/20090513 Fedora/3.0-2.3.beta2.fc11 Lightning/1.0pre Thunderbird/3.0b2 |
Hi,
In practice there's no way for the user to have more than one set of IDE busses, so I don't see much point pretending we allow this. i.e. remove the hd_table argument altogether and use drive_get_index directly.
I tend to kill the drives_table[] completely. It mixes host and guest state, we need to separate them.
For the host side I think about a linked list built from stripped down DriveInfo which contains the hostside info only (BlockDriverState + friends) and a name to reference it.
The guest side will link to the host side state using the name, probably passed as attribute.
cheers, Gerd
[Prev in Thread] | Current Thread | [Next in Thread] |