Re: [PATCH v1] hw/pci-host: save/restore pci host config register

2020-07-24 Thread Michael S. Tsirkin
On Thu, Jul 23, 2020 at 05:04:53PM +0100, Dr. David Alan Gilbert wrote: > * Michael S. Tsirkin (m...@redhat.com) wrote: > > On Thu, Jul 23, 2020 at 02:12:54PM +0100, Dr. David Alan Gilbert wrote: > > > * Michael S. Tsirkin (m...@redhat.com) wrote: > > > > On Thu, Jul 23, 2020 at 08:53:03PM +0800, W

Re: [PATCH v1] hw/pci-host: save/restore pci host config register

2020-07-24 Thread Michael S. Tsirkin
On Fri, Jul 24, 2020 at 03:21:58AM +, Wangjing (Hogan, Cloud Infrastructure Service Product Dept.) wrote: > On Sat, Jul 25, 2020 at 10:53:03AM Hogan Wang wrote: > > * Michael S. Tsirkin (m...@redhat.com) wrote: > > > On Thu, Jul 23, 2020 at 02:12:54PM +0100, Dr. David Alan Gilbert wrote: > > >

Re: 答复: [PATCH v1] hw/pci-host: save/restore pci host config register

2020-07-24 Thread Michael S. Tsirkin
On Thu, Jul 23, 2020 at 02:29:36PM +, Wangjing (Hogan, Cloud Infrastructure Service Product Dept.) wrote: > Wang King wrote: > > * Michael S. Tsirkin (m...@redhat.com) wrote: > > > On Thu, Jul 23, 2020 at 08:53:03PM +0800, Wang King wrote: > > > > From: Hogan Wang > > > > > > > > The pci hos

Re: [PATCH v1] hw/pci-host: save/restore pci host config register

2020-07-23 Thread Wangjing (Hogan, Cloud Infrastructure Service Product Dept.)
On Sat, Jul 25, 2020 at 10:53:03AM Hogan Wang wrote: > * Michael S. Tsirkin (m...@redhat.com) wrote: > > On Thu, Jul 23, 2020 at 02:12:54PM +0100, Dr. David Alan Gilbert wrote: > > > * Michael S. Tsirkin (m...@redhat.com) wrote: > > > > On Thu, Jul 23, 2020 at 08:53:03PM +0800, Hogan Wang wrote: >

Re: [PATCH v1] hw/pci-host: save/restore pci host config register

2020-07-23 Thread Dr. David Alan Gilbert
* Michael S. Tsirkin (m...@redhat.com) wrote: > On Thu, Jul 23, 2020 at 02:12:54PM +0100, Dr. David Alan Gilbert wrote: > > * Michael S. Tsirkin (m...@redhat.com) wrote: > > > On Thu, Jul 23, 2020 at 08:53:03PM +0800, Wang King wrote: > > > > From: Hogan Wang > > > > > > > > The pci host config r

Re: [PATCH v1] hw/pci-host: save/restore pci host config register

2020-07-23 Thread Michael S. Tsirkin
On Thu, Jul 23, 2020 at 02:12:54PM +0100, Dr. David Alan Gilbert wrote: > * Michael S. Tsirkin (m...@redhat.com) wrote: > > On Thu, Jul 23, 2020 at 08:53:03PM +0800, Wang King wrote: > > > From: Hogan Wang > > > > > > The pci host config register is used to save PCI address for > > > read/write c

答复: [PATCH v1] hw/pci-host: save/restore pci host config register

2020-07-23 Thread Wangjing (Hogan, Cloud Infrastructure Service Product Dept.)
Wang King wrote: > * Michael S. Tsirkin (m...@redhat.com) wrote: > > On Thu, Jul 23, 2020 at 08:53:03PM +0800, Wang King wrote: > > > From: Hogan Wang > > > > > > The pci host config register is used to save PCI address for > > > read/write config data. If guest write a value to config register,

Re: [PATCH v1] hw/pci-host: save/restore pci host config register

2020-07-23 Thread Dr. David Alan Gilbert
* Michael S. Tsirkin (m...@redhat.com) wrote: > On Thu, Jul 23, 2020 at 08:53:03PM +0800, Wang King wrote: > > From: Hogan Wang > > > > The pci host config register is used to save PCI address for > > read/write config data. If guest write a value to config register, > > and then pause the vcpu t

Re: [PATCH v1] hw/pci-host: save/restore pci host config register

2020-07-23 Thread Michael S. Tsirkin
On Thu, Jul 23, 2020 at 08:53:03PM +0800, Wang King wrote: > From: Hogan Wang > > The pci host config register is used to save PCI address for > read/write config data. If guest write a value to config register, > and then pause the vcpu to migrate, After the migration, the guest > continue to wr

[PATCH v1] hw/pci-host: save/restore pci host config register

2020-07-23 Thread Wang King
From: Hogan Wang The pci host config register is used to save PCI address for read/write config data. If guest write a value to config register, and then pause the vcpu to migrate, After the migration, the guest continue to write pci config data, and the write data will be ignored because of new