On 02/07/2011 05:13 AM, Daniel P. Berrange wrote:
Oh fun, it is actually worse than this. On PPC slot 1 is occupied by
the
VGA adapter, while slot 2 is the IDE controller, so we'll need to make
some more complex changes here.
We're gonna need to change this for every other arch too, in fact it looks
like it probably differs for each '-M' arg value too :-(
I'm wondering whether we should just have a separate method for each combo
rather than trying to make one method do everything.
Definitely sounds like the sort of thing where we need an arch-specific
callback function that can report the correct reservation information
for that architecture (similar to how we already have arch-specific
callbacks for computing cpu features).
--
Eric Blake eblake(a)redhat.com +1-801-349-2682
Libvirt virtualization library
http://libvirt.org