Re: [PATCH v4 2/3] job: introduce dump guest memory job

2022-08-01 Thread Wangjing(Hogan)
> Hogan Wang writes: > > > There's no way to cancel the current executing dump process, lead to > > the virtual machine manager daemon((e.g. libvirtd) cannot restore the > > dump job after daemon restart. > > > > Introduce dump guest memory job type, and add an optional 'job-id' > > argument fo

Re: [PATCH] dump: introduce dump-cancel QMP command

2022-07-22 Thread Wangjing(Hogan)
> On Thu, Jul 21, 2022 at 09:13:53AM +0100, Daniel P. Berrangé wrote: > > On Thu, Jul 21, 2022 at 02:21:18PM +0800, Hogan Wang via wrote: > > > There's no way to cancel the current executing dump process, lead to > > > the virtual machine manager daemon((e.g. libvirtd) cannot restore > > > the du

Re: [PATCH] dump: introduce dump-cancel QMP command

2022-07-21 Thread Wangjing(Hogan)
> Daniel P. Berrangé writes: > > > On Thu, Jul 21, 2022 at 02:21:18PM +0800, Hogan Wang via wrote: > >> There's no way to cancel the current executing dump process, lead to > >> the virtual machine manager daemon((e.g. libvirtd) cannot restore the > >> dump job after daemon restart. > >> > >>

Re: [PATCH v2] chardev: avoid use-after-free when client disconnect

2022-07-20 Thread Wangjing(Hogan)
> On Wed, Jul 20, 2022 at 08:55:46AM +0000, Wangjing(Hogan) wrote: > > > > > On Wed, Jul 20, 2022 at 11:36:07AM +0400, Marc-André Lureau wrote: > > > > Hi > > > > > > > > On Wed, Jul 20, 2022 at 11:13 AM Hogan Wang via > > > >

Re: [PATCH v2] chardev: avoid use-after-free when client disconnect

2022-07-20 Thread Wangjing(Hogan)
> On Wed, Jul 20, 2022 at 11:36:07AM +0400, Marc-André Lureau wrote: > > Hi > > > > On Wed, Jul 20, 2022 at 11:13 AM Hogan Wang via > > > > wrote: > > > > > IOWatchPoll object did not hold the @ioc and @src objects reference, > > > then io_watch_poll_prepare execute in IO thread, if IOWatchPo

Re: [PATCH v5] hw/pci-host: save/restore pci host config register for old ones

2020-07-29 Thread Wangjing (Hogan, Cloud Infrastructure Service Product Dept.)
> On Tue, Jul 28, 2020 at 11:27:09AM +0800, Hogan Wang wrote: > > The i440fx and q35 machines integrate i440FX or MCH PCI device by default. > > Refer to i440FX and ICH9-LPC spcifications, there are some reserved > > configuration registers can used to save/restore PCIHostState.config_reg. > > It'

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: >

答复: [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,