[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] all vga: refuse hotplugging.
From: |
Stefano Stabellini |
Subject: |
Re: [Qemu-devel] [PATCH] all vga: refuse hotplugging. |
Date: |
Wed, 26 May 2010 14:18:01 +0100 |
User-agent: |
Alpine 2.00 (DEB 1167 2008-08-23) |
On Wed, 26 May 2010, Gerd Hoffmann wrote:
> Hi,
>
> >> Yes. Assuming the virtual hardware in question can actually act as
> >> secondary, i.e. is fully programmable without the legacy vga ports. The
> >> standard vga can't. The cirrus looks doable, at least you can access
> >> the vga ports using the mmio bar.
> >
> > I see, good point.
> >
> > I guess the right fix here would be to return -1 in the stdvga case but
> > continue in the cirrus case and avoid registering the vga ioports when
> > used as secondary adapter.
>
> Except that this most likely is a non-trivial effort as we have to find
> and test sane ways to handle multiple guest displays.
>
> I think having two gfx screens mapped to two qemu consoles, then be able
> to switch between them via Ctrl-Alt-<nr> (like you switch today to text
> consoles) could be doable without too much effort. Question is how
> useful this would be as you can't see your two screens at the same time.
>
Actually I was thinking of registering multiple graphic consoles, each
of them could be rendered by a different frontend (sdl/vnc)
independently. We would have multiple DisplayStates for that.
> With qxl+spice the spice client will open a new window for the secondary
> display. With vnc+sdl you'll see the primary display only.
So you are doing exactly what I wrote above, right?
Re: [Qemu-devel] [PATCH] all vga: refuse hotplugging., Paul Brook, 2010/05/28