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

Re: [libvirt] [PATCH 1/1] Support for RDP



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

Regards,
Daniel.
-- 
|: Red Hat, Engineering, London   -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 :|


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