Il 14/07/2014 16:43, Daniel P. Berrange ha scritto:
> > -drive file=img_1,if=pflash,format=raw,readonly \
> > -drive file=img_2,if=pflash,format=raw
>
> It's safer to add ",unit=0" and ",unit=1" too.
Is there any compelling reason to make the unit numbers user
configurable. Are they guest ABI sensitive for example ?
unit=0 goes just up to the 4G limit (e.g. if it's 256k it occupies the
256K from fffc0000 to ffffffff). unit=1 goes just below that. So yes
they affect the guest ABI.
However, unit=0 contains the reset vector, so the <loader> must be
unit=0 and <nvram> must be unit=1. Exchanging them makes little sense.
Paolo
--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list