Re: [Qemu-devel] [BUG]Unassigned mem write during pci device hot-plug

2019-01-07 Thread Michael S. Tsirkin
On Mon, Jan 07, 2019 at 03:28:36PM +, xuyandong wrote: > > > > -Original Message- > > From: Michael S. Tsirkin [mailto:m...@redhat.com] > > Sent: Monday, January 07, 2019 11:06 PM > > To: xuyandong > > Cc: mar...@redhat.com; Paolo Bonzini ; qemu- > > de...@nongnu.org; Zhanghailiang ;

Re: [Qemu-devel] [BUG]Unassigned mem write during pci device hot-plug

2019-01-07 Thread xuyandong
> -Original Message- > From: Michael S. Tsirkin [mailto:m...@redhat.com] > Sent: Monday, January 07, 2019 11:06 PM > To: xuyandong > Cc: mar...@redhat.com; Paolo Bonzini ; qemu- > de...@nongnu.org; Zhanghailiang ; > wangxin (U) ; Huangweidong (C) > > Subject: Re: [BUG]Unassigned mem wri

Re: [Qemu-devel] [BUG]Unassigned mem write during pci device hot-plug

2019-01-07 Thread Michael S. Tsirkin
On Mon, Jan 07, 2019 at 02:37:17PM +, xuyandong wrote: > > > > > > > > > > > Hi all, > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > In our test, we configured VM with several pci-bridges > > > > > > > > > > > and a virtio-net nic been attached with bus 4

Re: [Qemu-devel] [BUG]Unassigned mem write during pci device hot-plug

2019-01-07 Thread xuyandong
> -Original Message- > From: xuyandong > Sent: Monday, January 07, 2019 10:37 PM > To: 'Michael S. Tsirkin' > Cc: mar...@redhat.com; Paolo Bonzini ; qemu- > de...@nongnu.org; Zhanghailiang ; > wangxin (U) ; Huangweidong (C) > > Subject: RE: [BUG]Unassigned mem write during pci device hot-

Re: [Qemu-devel] [BUG]Unassigned mem write during pci device hot-plug

2019-01-07 Thread xuyandong
> > > > > > > > > > Hi all, > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > In our test, we configured VM with several pci-bridges > > > > > > > > > > and a virtio-net nic been attached with bus 4, > > > > > > > > > > > > > > > > > > > > After VM is startup, We ping

Re: [Qemu-devel] [BUG]Unassigned mem write during pci device hot-plug

2018-12-10 Thread Michael S. Tsirkin
On Tue, Dec 11, 2018 at 03:51:09AM +, xuyandong wrote: > > On Tue, Dec 11, 2018 at 02:55:43AM +, xuyandong wrote: > > > On Tue, Dec 11, 2018 at 01:47:37AM +, xuyandong wrote: > > > > > On Sat, Dec 08, 2018 at 11:58:59AM +, xuyandong wrote: > > > > > > > > > Hi all, > > > > > > > > >

Re: [Qemu-devel] [BUG]Unassigned mem write during pci device hot-plug

2018-12-10 Thread Michael S. Tsirkin
On Tue, Dec 11, 2018 at 03:51:09AM +, xuyandong wrote: > > There could we a way to work around this. > > Does below help? > > I am sorry to tell you, I tested this patch and it doesn't work fine. What happens? > > > > diff --git a/hw/i386/acpi-build.c b/hw/i386/acpi-build.c index > > 236a20

Re: [Qemu-devel] [BUG]Unassigned mem write during pci device hot-plug

2018-12-10 Thread xuyandong
> On Tue, Dec 11, 2018 at 02:55:43AM +, xuyandong wrote: > > On Tue, Dec 11, 2018 at 01:47:37AM +, xuyandong wrote: > > > > On Sat, Dec 08, 2018 at 11:58:59AM +, xuyandong wrote: > > > > > > > > Hi all, > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > In our test, we conf

Re: [Qemu-devel] [BUG]Unassigned mem write during pci device hot-plug

2018-12-10 Thread Michael S. Tsirkin
On Tue, Dec 11, 2018 at 02:55:43AM +, xuyandong wrote: > On Tue, Dec 11, 2018 at 01:47:37AM +, xuyandong wrote: > > > On Sat, Dec 08, 2018 at 11:58:59AM +, xuyandong wrote: > > > > > > > Hi all, > > > > > > > > > > > > > > > > > > > > > > > > > > > > In our test, we configured VM with s

Re: [Qemu-devel] [BUG]Unassigned mem write during pci device hot-plug

2018-12-10 Thread xuyandong
On Tue, Dec 11, 2018 at 01:47:37AM +, xuyandong wrote: > > On Sat, Dec 08, 2018 at 11:58:59AM +, xuyandong wrote: > > > > > > Hi all, > > > > > > > > > > > > > > > > > > > > > > > > In our test, we configured VM with several pci-bridges and a > > > > > > virtio-net nic been attached with bu

Re: [Qemu-devel] [BUG]Unassigned mem write during pci device hot-plug

2018-12-10 Thread Michael S. Tsirkin
On Tue, Dec 11, 2018 at 01:47:37AM +, xuyandong wrote: > On Sat, Dec 08, 2018 at 11:58:59AM +, xuyandong wrote: > > > > > Hi all, > > > > > > > > > > > > > > > > > > > > In our test, we configured VM with several pci-bridges and a > > > > > virtio-net nic been attached with bus 4, > > > > >

Re: [Qemu-devel] [BUG]Unassigned mem write during pci device hot-plug

2018-12-10 Thread xuyandong
On Sat, Dec 08, 2018 at 11:58:59AM +, xuyandong wrote: > > > > Hi all, > > > > > > > > > > > > > > > > In our test, we configured VM with several pci-bridges and a > > > > virtio-net nic been attached with bus 4, > > > > > > > > After VM is startup, We ping this nic from host to judge if it is

Re: [Qemu-devel] [BUG]Unassigned mem write during pci device hot-plug

2018-12-10 Thread Michael S. Tsirkin
On Mon, Dec 10, 2018 at 03:12:53AM +, xuyandong wrote: > On Sat, Dec 08, 2018 at 11:58:59AM +, xuyandong wrote: > > > Hi all, > > > > > > > > > > > > In our test, we configured VM with several pci-bridges and a > > > virtio-net nic been attached with bus 4, > > > > > > After VM is startup,

Re: [Qemu-devel] [BUG]Unassigned mem write during pci device hot-plug

2018-12-09 Thread xuyandong
On Sat, Dec 08, 2018 at 11:58:59AM +, xuyandong wrote: > > Hi all, > > > > > > > > In our test, we configured VM with several pci-bridges and a > > virtio-net nic been attached with bus 4, > > > > After VM is startup, We ping this nic from host to judge if it is > > working normally. Then, we h

Re: [Qemu-devel] [BUG]Unassigned mem write during pci device hot-plug

2018-12-09 Thread Michael S. Tsirkin
On Sat, Dec 08, 2018 at 11:58:59AM +, xuyandong wrote: > Hi all, > > > > In our test, we configured VM with several pci-bridges and a virtio-net nic > been attached with bus 4, > > After VM is startup, We ping this nic from host to judge if it is working > normally. Then, we hot add pci de

Re: [Qemu-devel] [BUG]Unassigned mem write during pci device hot-plug

2018-12-09 Thread xuyandong
n Sat, Dec 08, 2018 at 11:58:59AM +, xuyandong wrote: > > Hi all, > > > > > > > > In our test, we configured VM with several pci-bridges and a > > virtio-net nic been attached with bus 4, > > > > After VM is startup, We ping this nic from host to judge if it is > > working normally. Then, we ho

Re: [Qemu-devel] [BUG]Unassigned mem write during pci device hot-plug

2018-12-09 Thread Michael S. Tsirkin
On Sat, Dec 08, 2018 at 11:58:59AM +, xuyandong wrote: > Hi all, > > > > In our test, we configured VM with several pci-bridges and a virtio-net nic > been attached with bus 4, > > After VM is startup, We ping this nic from host to judge if it is working > normally. Then, we hot add pci de

[Qemu-devel] [BUG]Unassigned mem write during pci device hot-plug

2018-12-08 Thread xuyandong
Hi all, In our test, we configured VM with several pci-bridges and a virtio-net nic been attached with bus 4, After VM is startup, We ping this nic from host to judge if it is working normally. Then, we hot add pci devices to this VM with bus 0. We found the virtio-net NIC in bus 4 is not worki