qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH for-2.5] virtio: handle non-virtio-1-capable bac


From: Cornelia Huck
Subject: Re: [Qemu-devel] [PATCH for-2.5] virtio: handle non-virtio-1-capable backend
Date: Wed, 2 Dec 2015 18:19:42 +0100

On Wed, 2 Dec 2015 18:43:05 +0200
"Michael S. Tsirkin" <address@hidden> wrote:

> On Wed, Dec 02, 2015 at 03:09:58PM +0100, Cornelia Huck wrote:
> > If you run a qemu advertising VERSION_1 with an old kernel where
> > vhost did not yet support VERSION_1, you'll end up with a device
> > that is {modern pci|ccw revision 1} but does not advertise VERSION_1.
> > This is not a sensible configuration and is rejected by the Linux
> > guest drivers.
> > 
> > To fix this, add a ->post_plugged() callback invoked after features
> > have been queried that can handle the VERSION_1 bit being withdrawn
> > and change pci (only setup modern if VERSION_1 is still present) and
> > ccw (fall back to revision 0 if VERSION_1 is gone).
> > 
> > Signed-off-by: Cornelia Huck <address@hidden>
> 
> 
> Unfortunately this is too late: we need to know
> whether modern will be supported to know whether
> to add the pci express capability :(
> 
> Maybe this should be moved into plugged
> callback?

As discussed on irc: I'll cut this down to ccw only for 2.5, and we'll
rethink for 2.6. Patch in progress.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]