WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Re: xen drivers to use virtio?

Subject: [Xen-devel] Re: xen drivers to use virtio?
From: Anthony Liguori <anthony@xxxxxxxxxxxxx>
Date: Thu, 26 Feb 2009 20:39:42 -0600
Cc: Jeremy Fitzhardinge <jeremy@xxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Jun Koi <junkoi2004@xxxxxxxxx>
Delivery-date: Thu, 26 Feb 2009 18:40:09 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <49A7504C.4010506@xxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <fdaac4d50902250633m712d8252oc78bdf76ab4b598e@xxxxxxxxxxxxxx> <49A5DA20.2080306@xxxxxxxx> <49A7504C.4010506@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.19 (X11/20090105)
Anthony Liguori wrote:
Jeremy Fitzhardinge wrote:
Jun Koi wrote:
If I understand correctly, we are going to rewrite some xen drivers in
Linux kernel to use virtio once virtio is stable. Is that true?

There are no plans to do so.

Actually, they're already there to some degree now that qemu-dm is tracking the upstream QEMU tree. virtio support has been in the QEMU tree for some time now. If it's not enabled in qemu-dm by default, it should be trivial to enable.

Apparently qemu-dm is still on an older SVN version of QEMU that doesn't have virtio. I think Ian is still trying to work out the merge conflicts from Stefano's DisplayState refactoring.

In the mean time, it should be easy enough to port the virtio code into Ian's tree or just wait for him to rebase to a newer QEMU version.

Regards,

Anthony Liguori

From Xend's perspective, virtio devices shouldn't be different from either rtl8139, e1000, etc. It's just another PCI device.

This model makes less sense in the context of stub domains, but if you're running qemu-dm in dom0, you may actually get reasonable performance out of the virtio drivers.

In fact, comparing an HVM domain using virtio with qemu-dm in dom0 verses netfront ala PV-on-HVM would make for a very interesting comparison.

And assuming PV-on-HVM isn't in upstream Linux yet (that appears to be the case) and virtio is, it may even be a practical thing to do.

Regards,

Anthony Liguori


   J


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>