* Virtualbox svga card in KVM
@ 2013-03-20 22:00 Sriram Murthy
2013-03-21 14:53 ` Alon Levy
0 siblings, 1 reply; 13+ messages in thread
From: Sriram Murthy @ 2013-03-20 22:00 UTC (permalink / raw)
To: kvm@vger.kernel.org
Hi,
I am planning on bringing in the virtualbox svga card into kvm as a new svga card type (vbox probably?) so that we can load the VirtualBox SVGA card drivers in the guest.
Is this even feasible?. Any ideas on where I should start looking?
Regards,Sriram
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Virtualbox svga card in KVM
2013-03-20 22:00 Virtualbox svga card in KVM Sriram Murthy
@ 2013-03-21 14:53 ` Alon Levy
2013-04-02 1:13 ` Sriram Murthy
2013-04-05 7:06 ` Stefan Hajnoczi
0 siblings, 2 replies; 13+ messages in thread
From: Alon Levy @ 2013-03-21 14:53 UTC (permalink / raw)
To: Sriram Murthy; +Cc: kvm, qemu list
>
>
> Hi,
> I am planning on bringing in the virtualbox svga card into kvm
> as a new svga card type (vbox probably?) so that we can load
> the VirtualBox SVGA card drivers in the guest.
>
> Is this even feasible?. Any ideas on where I should start
> looking?
I don't see why it wouldn't, sounds like a great idea. You can look at hw/qxl.c, hw/cirrus_vga.c, hw/vmware_vga.c as existing pci vga cards. Also this should go on qemu-devel (cc'ed).
>
> Regards,Sriram
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Virtualbox svga card in KVM
2013-03-21 14:53 ` Alon Levy
@ 2013-04-02 1:13 ` Sriram Murthy
2013-04-05 7:06 ` Stefan Hajnoczi
1 sibling, 0 replies; 13+ messages in thread
From: Sriram Murthy @ 2013-04-02 1:13 UTC (permalink / raw)
To: Alon Levy, qemu list; +Cc: kvm@vger.kernel.org
Hi,
I am looking into hw/vga.c and hw/vga-pci.c as a starting point in my effort to get vbox svga card into kvm.
However, given my very basic understanding of VGA/SVGA standards, can somebody throw some light on the inner workings of the std vga card in kvm?
Also, are there any good urls/blogs/standards that I must be aware of before starting on this porting effort?
Any help here will be greatly appreciated.
Thanks and regards,
Sriram
----- Original Message -----
From: Alon Levy <alevy@redhat.com>
To: Sriram Murthy <sriramsm@yahoo.com>
Cc: kvm@vger.kernel.org; qemu list <qemu-devel@nongnu.org>
Sent: Thursday, March 21, 2013 7:53 AM
Subject: Re: Virtualbox svga card in KVM
>
>
> Hi,
> I am planning on bringing in the virtualbox svga card into kvm
> as a new svga card type (vbox probably?) so that we can load
> the VirtualBox SVGA card drivers in the guest.
>
> Is this even feasible?. Any ideas on where I should start
> looking?
I don't see why it wouldn't, sounds like a great idea. You can look at hw/qxl.c, hw/cirrus_vga.c, hw/vmware_vga.c as existing pci vga cards. Also this should go on qemu-devel (cc'ed).
>
> Regards,Sriram
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Virtualbox svga card in KVM
2013-03-21 14:53 ` Alon Levy
2013-04-02 1:13 ` Sriram Murthy
@ 2013-04-05 7:06 ` Stefan Hajnoczi
2013-04-05 23:52 ` Sriram Murthy
1 sibling, 1 reply; 13+ messages in thread
From: Stefan Hajnoczi @ 2013-04-05 7:06 UTC (permalink / raw)
To: Sriram Murthy; +Cc: kvm, qemu list
On Thu, Mar 21, 2013 at 10:53:21AM -0400, Alon Levy wrote:
> > I am planning on bringing in the virtualbox svga card into kvm
> > as a new svga card type (vbox probably?) so that we can load
> > the VirtualBox SVGA card drivers in the guest.
I'm curious if the vbox SVGA card has features that existing QEMU
graphics cards do not provide?
Stefan
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Virtualbox svga card in KVM
2013-04-05 7:06 ` Stefan Hajnoczi
@ 2013-04-05 23:52 ` Sriram Murthy
2013-04-08 10:46 ` Stefan Hajnoczi
` (2 more replies)
0 siblings, 3 replies; 13+ messages in thread
From: Sriram Murthy @ 2013-04-05 23:52 UTC (permalink / raw)
To: Stefan Hajnoczi; +Cc: kvm@vger.kernel.org, qemu list
For starters, virtual box has better SVGA WDDM drivers that allows for a much richer display when the VM display is local.
I am yet to completely understand both the KVM and the virtualbox SVGA card (actually, the virtualbox SVGA card is based off of the KVM VGA card), so I may not be the authority here.
-Sriram
----- Original Message -----
From: Stefan Hajnoczi <stefanha@gmail.com>
To: Sriram Murthy <sriramsm@yahoo.com>
Cc: kvm@vger.kernel.org; qemu list <qemu-devel@nongnu.org>
Sent: Friday, April 5, 2013 12:06 AM
Subject: Re: Virtualbox svga card in KVM
On Thu, Mar 21, 2013 at 10:53:21AM -0400, Alon Levy wrote:
> > I am planning on bringing in the virtualbox svga card into kvm
> > as a new svga card type (vbox probably?) so that we can load
> > the VirtualBox SVGA card drivers in the guest.
I'm curious if the vbox SVGA card has features that existing QEMU
graphics cards do not provide?
Stefan
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Virtualbox svga card in KVM
2013-04-05 23:52 ` Sriram Murthy
@ 2013-04-08 10:46 ` Stefan Hajnoczi
2013-04-08 15:08 ` Sriram Murthy
2013-04-08 15:11 ` [Qemu-devel] " Peter Maydell
2013-04-09 16:04 ` Yan Vugenfirer
2 siblings, 1 reply; 13+ messages in thread
From: Stefan Hajnoczi @ 2013-04-08 10:46 UTC (permalink / raw)
To: Sriram Murthy; +Cc: kvm@vger.kernel.org, qemu list
On Fri, Apr 05, 2013 at 04:52:05PM -0700, Sriram Murthy wrote:
> For starters, virtual box has better SVGA WDDM drivers that allows for a much richer display when the VM display is local.
What does "much richer display" mean?
Stefan
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Virtualbox svga card in KVM
2013-04-08 10:46 ` Stefan Hajnoczi
@ 2013-04-08 15:08 ` Sriram Murthy
0 siblings, 0 replies; 13+ messages in thread
From: Sriram Murthy @ 2013-04-08 15:08 UTC (permalink / raw)
To: Stefan Hajnoczi; +Cc: kvm@vger.kernel.org, qemu list
By "richer display", I meant support for different resolution and color depth (including support for nonstandard resolutions as well).
-Sriram
----- Original Message -----
From: Stefan Hajnoczi <stefanha@gmail.com>
To: Sriram Murthy <sriramsm@yahoo.com>
Cc: "kvm@vger.kernel.org" <kvm@vger.kernel.org>; qemu list <qemu-devel@nongnu.org>
Sent: Monday, April 8, 2013 3:46 AM
Subject: Re: Virtualbox svga card in KVM
On Fri, Apr 05, 2013 at 04:52:05PM -0700, Sriram Murthy wrote:
> For starters, virtual box has better SVGA WDDM drivers that allows for a much richer display when the VM display is local.
What does "much richer display" mean?
Stefan
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Qemu-devel] Virtualbox svga card in KVM
2013-04-05 23:52 ` Sriram Murthy
2013-04-08 10:46 ` Stefan Hajnoczi
@ 2013-04-08 15:11 ` Peter Maydell
2013-04-08 16:05 ` Sriram Murthy
2013-04-15 12:26 ` [Qemu-devel] " Gerd Hoffmann
2013-04-09 16:04 ` Yan Vugenfirer
2 siblings, 2 replies; 13+ messages in thread
From: Peter Maydell @ 2013-04-08 15:11 UTC (permalink / raw)
To: Sriram Murthy; +Cc: Stefan Hajnoczi, qemu list, kvm@vger.kernel.org
On 6 April 2013 00:52, Sriram Murthy <sriramsm@yahoo.com> wrote:
> (actually, the virtualbox SVGA card is based off of the KVM VGA card)
Is it possible to implement it as an extension to the VGA
card device, or has it diverged incompatibly such that it
has to be its own separate device model?
thanks
-- PMM
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Qemu-devel] Virtualbox svga card in KVM
2013-04-08 15:11 ` [Qemu-devel] " Peter Maydell
@ 2013-04-08 16:05 ` Sriram Murthy
2013-04-09 17:04 ` Andreas Färber
2013-04-15 12:26 ` [Qemu-devel] " Gerd Hoffmann
1 sibling, 1 reply; 13+ messages in thread
From: Sriram Murthy @ 2013-04-08 16:05 UTC (permalink / raw)
To: Peter Maydell; +Cc: Stefan Hajnoczi, qemu list, kvm@vger.kernel.org
The Virtualbox SVGA card was derived out of the KVM VGA card, so there are quite a few similarities (I am deliberately being vague here as I am still in the process of discovering the features of both these cards completely). Having said that, the APIs and the data structures themselves have been modified to add new features (like displaying a custom bmp as the VGA bootup logo) and it has a custom vga bios as well.
Also, it is better that it be its own separate device model, so that maintenance of the vbox code becomes easier later. Further, I am thinking on the lines of retaining the VIrtualbox SVGA card code as is, and write a small KVM abstraction layer, so that it will be easy to port the bug fixes into the vbox SVGA card later on.
Any comments/suggestions welcome here.
-Sriram
----- Original Message -----
From: Peter Maydell <peter.maydell@linaro.org>
To: Sriram Murthy <sriramsm@yahoo.com>
Cc: Stefan Hajnoczi <stefanha@gmail.com>; qemu list <qemu-devel@nongnu.org>; "kvm@vger.kernel.org" <kvm@vger.kernel.org>
Sent: Monday, April 8, 2013 8:11 AM
Subject: Re: [Qemu-devel] Virtualbox svga card in KVM
On 6 April 2013 00:52, Sriram Murthy <sriramsm@yahoo.com> wrote:
> (actually, the virtualbox SVGA card is based off of the KVM VGA card)
Is it possible to implement it as an extension to the VGA
card device, or has it diverged incompatibly such that it
has to be its own separate device model?
thanks
-- PMM
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Virtualbox svga card in KVM
2013-04-05 23:52 ` Sriram Murthy
2013-04-08 10:46 ` Stefan Hajnoczi
2013-04-08 15:11 ` [Qemu-devel] " Peter Maydell
@ 2013-04-09 16:04 ` Yan Vugenfirer
2 siblings, 0 replies; 13+ messages in thread
From: Yan Vugenfirer @ 2013-04-09 16:04 UTC (permalink / raw)
To: Sriram Murthy; +Cc: Stefan Hajnoczi, kvm@vger.kernel.org, qemu list
On Apr 6, 2013, at 2:52 AM, Sriram Murthy wrote:
> For starters, virtual box has better SVGA WDDM drivers that allows for a much richer display when the VM display is local.
Does it support S3 and S4 with Windows 8?
Yan.
> I am yet to completely understand both the KVM and the virtualbox SVGA card (actually, the virtualbox SVGA card is based off of the KVM VGA card), so I may not be the authority here.
> -Sriram
>
>
>
> ----- Original Message -----
> From: Stefan Hajnoczi <stefanha@gmail.com>
> To: Sriram Murthy <sriramsm@yahoo.com>
> Cc: kvm@vger.kernel.org; qemu list <qemu-devel@nongnu.org>
> Sent: Friday, April 5, 2013 12:06 AM
> Subject: Re: Virtualbox svga card in KVM
>
> On Thu, Mar 21, 2013 at 10:53:21AM -0400, Alon Levy wrote:
>>> I am planning on bringing in the virtualbox svga card into kvm
>>> as a new svga card type (vbox probably?) so that we can load
>>> the VirtualBox SVGA card drivers in the guest.
>
> I'm curious if the vbox SVGA card has features that existing QEMU
> graphics cards do not provide?
>
> Stefan
>
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Virtualbox svga card in KVM
2013-04-08 16:05 ` Sriram Murthy
@ 2013-04-09 17:04 ` Andreas Färber
0 siblings, 0 replies; 13+ messages in thread
From: Andreas Färber @ 2013-04-09 17:04 UTC (permalink / raw)
To: Sriram Murthy
Cc: Peter Maydell, kvm@vger.kernel.org, Stefan Hajnoczi, qemu list,
Gerd Hoffmann, David Gibson
Hi,
Am 08.04.2013 18:05, schrieb Sriram Murthy:
> The Virtualbox SVGA card was derived out of the KVM VGA card, so there are quite a few similarities (I am deliberately being vague here as I am still in the process of discovering the features of both these cards completely). Having said that, the APIs and the data structures themselves have been modified to add new features (like displaying a custom bmp as the VGA bootup logo) and it has a custom vga bios as well.
> Also, it is better that it be its own separate device model, so that maintenance of the vbox code becomes easier later. Further, I am thinking on the lines of retaining the VIrtualbox SVGA card code as is, and write a small KVM abstraction layer, so that it will be easy to port the bug fixes into the vbox SVGA card later on.
> Any comments/suggestions welcome here.
Personally, I think that the connection between VirtualBox and QEMU is
very unidirectional if there is any... So code-wise our focus should
rather be to avoid code copies/divergence within our tree and to share
code with existing in-tree devices, especially if you are not paid to
continuously take care of this device once accepted into QEMU - that's
how I interpret PMM's question below.
There is nothing generally wrong with using KVM for guest driver
development or to make existing stripped-down guest images work at all
by adding such a special device.
However, proposing to adopt a random vendor's paravirtual graphics card
just because it has a few more resolutions and drivers on a particular
platform does not strike me as a big advantage over SPICE, VMware VGA or
past virtio-vga/-fb standardization attempts.
Regards,
Andreas
>
> -Sriram
>
>
>
> ----- Original Message -----
> From: Peter Maydell <peter.maydell@linaro.org>
> To: Sriram Murthy <sriramsm@yahoo.com>
> Cc: Stefan Hajnoczi <stefanha@gmail.com>; qemu list <qemu-devel@nongnu.org>; "kvm@vger.kernel.org" <kvm@vger.kernel.org>
> Sent: Monday, April 8, 2013 8:11 AM
> Subject: Re: [Qemu-devel] Virtualbox svga card in KVM
>
> On 6 April 2013 00:52, Sriram Murthy <sriramsm@yahoo.com> wrote:
>> (actually, the virtualbox SVGA card is based off of the KVM VGA card)
>
> Is it possible to implement it as an extension to the VGA
> card device, or has it diverged incompatibly such that it
> has to be its own separate device model?
>
> thanks
> -- PMM
--
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Qemu-devel] Virtualbox svga card in KVM
2013-04-08 15:11 ` [Qemu-devel] " Peter Maydell
2013-04-08 16:05 ` Sriram Murthy
@ 2013-04-15 12:26 ` Gerd Hoffmann
2013-04-24 14:36 ` Veruca Salt
1 sibling, 1 reply; 13+ messages in thread
From: Gerd Hoffmann @ 2013-04-15 12:26 UTC (permalink / raw)
To: Peter Maydell
Cc: Sriram Murthy, Stefan Hajnoczi, qemu list, kvm@vger.kernel.org
On 04/08/13 17:11, Peter Maydell wrote:
> On 6 April 2013 00:52, Sriram Murthy <sriramsm@yahoo.com> wrote:
>> (actually, the virtualbox SVGA card is based off of the KVM VGA card)
>
> Is it possible to implement it as an extension to the VGA
> card device, or has it diverged incompatibly such that it
> has to be its own separate device model?
Not needed. One just has to go write a windows driver. The virtual
hardware can handle any resolution just fine.
cheers,
Gerd
^ permalink raw reply [flat|nested] 13+ messages in thread
* RE: [Qemu-devel] Virtualbox svga card in KVM
2013-04-15 12:26 ` [Qemu-devel] " Gerd Hoffmann
@ 2013-04-24 14:36 ` Veruca Salt
0 siblings, 0 replies; 13+ messages in thread
From: Veruca Salt @ 2013-04-24 14:36 UTC (permalink / raw)
To: kraxel@redhat.com, Peter Maydell
Cc: Sriram Murthy, stefanha@gmail.com, qemu list,
QEMU-KVM Mailing List
----------------------------------------
> Date: Mon, 15 Apr 2013 14:26:25 +0200
> From: kraxel@redhat.com
> To: peter.maydell@linaro.org
> CC: sriramsm@yahoo.com; stefanha@gmail.com; qemu-devel@nongnu.org; kvm@vger.kernel.org
> Subject: Re: [Qemu-devel] Virtualbox svga card in KVM
>
> On 04/08/13 17:11, Peter Maydell wrote:
> > On 6 April 2013 00:52, Sriram Murthy <sriramsm@yahoo.com> wrote:
> >> (actually, the virtualbox SVGA card is based off of the KVM VGA card)
> >
> > Is it possible to implement it as an extension to the VGA
> > card device, or has it diverged incompatibly such that it
> > has to be its own separate device model?
>
> Not needed. One just has to go write a windows driver. The virtual
> hardware can handle any resolution just fine.
>
> cheers,
> Gerd
>
Time for a mea culpa; as a user I have extended my research. The KVM vga
sdl combination is around native speed when tested on a like-for-like
basis with intel igp.
Which probably explains why evrybody else is happy. :)
What we may have to do is fix up a gpu with drivers. Somewhat non-trivial.
Any suggestions folks?
Regards,
Simon
ps-vbox gives us another 12% flat out.
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2013-04-24 14:42 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-20 22:00 Virtualbox svga card in KVM Sriram Murthy
2013-03-21 14:53 ` Alon Levy
2013-04-02 1:13 ` Sriram Murthy
2013-04-05 7:06 ` Stefan Hajnoczi
2013-04-05 23:52 ` Sriram Murthy
2013-04-08 10:46 ` Stefan Hajnoczi
2013-04-08 15:08 ` Sriram Murthy
2013-04-08 15:11 ` [Qemu-devel] " Peter Maydell
2013-04-08 16:05 ` Sriram Murthy
2013-04-09 17:04 ` Andreas Färber
2013-04-15 12:26 ` [Qemu-devel] " Gerd Hoffmann
2013-04-24 14:36 ` Veruca Salt
2013-04-09 16:04 ` Yan Vugenfirer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox