On Thu, Apr 23, 2009 at 02:13:18PM +0100, Daniel P. Berrange wrote: > On Thu, Apr 23, 2009 at 02:56:46PM +0200, Daniel Veillard wrote: > > On Thu, Apr 23, 2009 at 01:47:17PM +0100, Daniel P. Berrange wrote: > > > On Thu, Apr 23, 2009 at 02:41:25PM +0200, Pritesh Kothari wrote: > > > > > I think we need to add an explicit tag to represent video devices > > > > > real soon. At very least we need to be able to indicate the type > > > > > of video card - QEMU supports 4 already vga, cirrus, vmwarevga > > > > > and xenfb. We probably also need to be able to indicate whether > > > > > a video card supports multiple monitors / outputs, and the amont > > > > > of Video RAM, etc. > > > > agreed > > > > > > in any case how about adding "multihead" and "3Daccel" to it and renaming ram to vram, something like this: > > > > > > > > <video> > > > > <model type='cirrus' vram='500' multihead='2' 3Daccel='yes'/> > > > > </video> > > > > > > Sure, vram seems fine. I think i'd call multihead 'monitors' or 'heads'. > > > > unfortunately the number of heads might not be sufficient, e.g. with 4 > > heads you could have 4 in line or 2x2, the geometry and relative > > positioning will probably be needed in some way. > > Surely that's something you do inside the guest OS. Inside the guest, > if using Xorg, the user interacting will use xrandr to configure them > in whatever layout they want. Similarly Windows has tools to decide > the layout of head.. > > The layout will almost certainly change to match that of the desktop > used by the end-user of the VM. > > eg we expose 2 heads to the guest OS. As user of the guest I connect > using VNC and discover 2 heads. My real desktop machine has 2 > monitors 1 above the other, so I run xrandr inside the guest to > say the 2 heads should be above each other to match my real desktop. > > Even with real hardware, there's no way to inform the OS what the > physical layout is, its all done by the user with the OS tools. So > it doesn't seem like topology is necccessary in libvirt config to me Right, I got confused, that's not the proper level ! Daniel -- Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ daniel@xxxxxxxxxxxx | Rpmfind RPM search engine http://rpmfind.net/ http://veillard.com/ | virtualization library http://libvirt.org/ -- Libvir-list mailing list Libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list