qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 0/4] qdev: switch reset to post-order, clean up


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH 0/4] qdev: switch reset to post-order, clean up PCI reset
Date: Sun, 06 Oct 2013 22:34:53 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130923 Thunderbird/17.0.9

Il 06/10/2013 20:28, Michael S. Tsirkin ha scritto:
> > > > For each PCI device I tried creating a VM with an instance of it (a few
> > > > devices at a time), and did VM resets.  Earlier versions were tested by
> > > > the guy who reported the SCSI problems.
> > > 
> > > x86 kvm only?
> > 
> > Yes.
> 
> Hmm, I'm not sure that's enough for this kind of change.

I'll do more tests though, from looking at the source code, I'm not sure
what could happen depending on the host bridge.  To make it clearer, the
difference is that pre-patch you have

    device-level reset for device 1
    bus-level reset for device 1
    device-level reset for device 2
    bus-level reset for device 2
    device-level reset for device 3
    bus-level reset for device 3

and afterwards you have

    device-level reset for device 1
    device-level reset for device 2
    device-level reset for device 3
    bus-level reset for device 1
    bus-level reset for device 2
    bus-level reset for device 3

I could also preserve exactly the same semantics if you prefer.  The
patch is a bit more complicated, but it's doable.

Paolo



reply via email to

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