Re: [PATCH] qemu: Add support for SGA video

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jul 04, 2011 at 03:21:25PM +0200, Michal Privoznik wrote:
> This patch extends possible values for <video> element. Serial Graphics
> Adapter allows users to see BIOS messages from the very first moment
> domain boots up. Therefore, users can choose boot medium, set PXE, etc.

This isn't really the right way todo this. '-sga' is not actually a
new type of video card. It isn't even a guest device. It is just a
hack QEMU uses for loading an option ROM via their qdev infrastructure.
This in turn causes the QEMU BIOS to use a serial port for outputting
messages.

IMHO we should do one of

 - Automatically enable it if no <graphics> is set, but there
   is a <serial> set (ie no XML additions at all)
 - Add a attribute to the <serial> element to allow use of SGA
   to be toggled on/off
 - Add an attribute on the <boot> element to redirect BIOS
   to SGA.

One thing about options 2/3 there is that they could allow
a user to request the BIOS to use the serial port even when
their guest *does* have a <graphics> element present.

Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]