[libvirt] PATCH: Support bootloaders in QEMU driver
Daniel P. Berrange
berrange at redhat.com
Tue May 13 11:49:28 UTC 2008
On Tue, May 13, 2008 at 09:07:45AM +0200, Jim Meyering wrote:
> "Daniel P. Berrange" <berrange at redhat.com> wrote:
> > The QEMU driver supports booting Xen guests via the Xenner hypervisor. For
> > such paravirtualized guests there is no regular BIOS, so the bootloader has
> > to be run on the host. Xenner defaults to pygrub, but since libvirt has a
> > generic syntax for bootloaders, we should use it. So this patch adds support
> > for the <bootloader> syntax in the QEMU drive, and passes this to Xenner via
> > the -bootloader arg.
> >
> > The patch is overly large, because when we have a bootloader we need to skip
> > the kernel/initrd/cmdline/boot elements & thus caused alot of intrusive code
> > re-indentation .
>
> Hmm... that patch didn't apply to latest.
> But only the big indentation-changing hunk
> failed, and it was one new line and the rest
> just white-space diffs, so no problem.
> and even if it hadn't, "git diff -w" makes it
> easy to see only the essential changes.
Sorry, I should have made it clearer that the set of patches apply in
series, and are dependant on the STREQ patch too. The ordering was:
strcmp-cleanup
xen-disk-bus
xen-input-bus
qemu-name-arg
xen-bootloader
kvm-vcpus
default-bus
Regards,
Dan.
--
|: Red Hat, Engineering, Boston -o- http://people.redhat.com/berrange/ :|
|: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|
More information about the libvir-list
mailing list