[Libvir] [PATCH] Add bus attribute to disk target definition

Mark McLoughlin markmc at redhat.com
Tue Apr 29 14:47:05 UTC 2008


On Tue, 2008-04-29 at 15:17 +0100, Daniel P. Berrange wrote:

> > > Even if the -drive parameter is supported, it should still pass the
> > > -boot a/c/d/n  parameter in.
> > 
> > Why? And how would you boot from a virtio device this way?
> 
> It is needed for PXE boot at least, and IMHO, QEMU should treat 'boot c'
> as if  'boot=on' were set for the first -drive parameter for back compat.

It was probably done this way because for normal IDE drivers, "-boot c"
is a different boot path than "boot=on" - i.e. the former goes through
the normal BIOS boot path, but "boot=on" uses the extboot PCI option ROM
hack.

Probably could just use extboot for "-boot c" when the drive in question
isn't an IDE drive, though ...

Cheers,
Mark.




More information about the libvir-list mailing list