Re: [Qemu-devel] [PATCH v2 4/7] virtio-pci: Proxy for virtio-pmem

2019-07-02 Thread Pankaj Gupta
> > On Tue, Jul 02, 2019 at 01:55:19PM +0200, Cornelia Huck wrote: > > On Wed, 19 Jun 2019 15:19:04 +0530 > > Pankaj Gupta wrote: > > > > > We need a proxy device for virtio-pmem, and this device has to be the > > > actual memory device so we can cleanly hotplug it. > > > > > > Forward memory

Re: [Qemu-devel] [PATCH v2 4/7] virtio-pci: Proxy for virtio-pmem

2019-07-02 Thread Michael S. Tsirkin
On Tue, Jul 02, 2019 at 01:55:19PM +0200, Cornelia Huck wrote: > On Wed, 19 Jun 2019 15:19:04 +0530 > Pankaj Gupta wrote: > > > We need a proxy device for virtio-pmem, and this device has to be the > > actual memory device so we can cleanly hotplug it. > > > > Forward memory device class functio

Re: [Qemu-devel] [PATCH v2 4/7] virtio-pci: Proxy for virtio-pmem

2019-07-02 Thread Cornelia Huck
On Wed, 19 Jun 2019 15:19:04 +0530 Pankaj Gupta wrote: > We need a proxy device for virtio-pmem, and this device has to be the > actual memory device so we can cleanly hotplug it. > > Forward memory device class functions either to the actual device or use > properties of the virtio-pmem device

Re: [Qemu-devel] [PATCH v2 4/7] virtio-pci: Proxy for virtio-pmem

2019-07-02 Thread Pankaj Gupta
> > On Wed, 19 Jun 2019 15:19:04 +0530 > Pankaj Gupta wrote: > > > We need a proxy device for virtio-pmem, and this device has to be the > > actual memory device so we can cleanly hotplug it. > > > > Forward memory device class functions either to the actual device or use > > properties of th

[Qemu-devel] [PATCH v2 4/7] virtio-pci: Proxy for virtio-pmem

2019-06-19 Thread Pankaj Gupta
We need a proxy device for virtio-pmem, and this device has to be the actual memory device so we can cleanly hotplug it. Forward memory device class functions either to the actual device or use properties of the virtio-pmem device to implement these in the proxy. virtio-pmem will only be compiled