Re: [Qemu-devel] [RFC] qemu: Add virtio pmem device

2018-04-08 Thread David Hildenbrand
On 09.04.2018 05:26, Stefan Hajnoczi wrote: > On Thu, Apr 05, 2018 at 08:09:26AM -0400, Pankaj Gupta wrote: >>> Will this raw file already have the "disk information header" (no idea >>> how that stuff is called) encoded? Are there any plans/possible ways to >>> >>> a) automatically create the head

Re: [Qemu-devel] [RFC] qemu: Add virtio pmem device

2018-04-08 Thread Stefan Hajnoczi
On Thu, Apr 05, 2018 at 08:09:26AM -0400, Pankaj Gupta wrote: > > Will this raw file already have the "disk information header" (no idea > > how that stuff is called) encoded? Are there any plans/possible ways to > > > > a) automatically create the headers? (if that's even possible) > > Its raw.

Re: [Qemu-devel] [RFC] qemu: Add virtio pmem device

2018-04-05 Thread David Hildenbrand
>> >> So right now you're just using some memdev for testing. > > yes. > >> >> I assume that the memory region we will provide to the guest will be a >> simple memory mapped raw file. Dirty tracking (using the kvm slot) will >> be used to detect which blocks actually changed and have to be flush

Re: [Qemu-devel] [RFC] qemu: Add virtio pmem device

2018-04-05 Thread Pankaj Gupta
Hi David, > > This patch adds virtio-pmem Qemu device. > > > > This device configures memory address range information with file > > backend type. It acts like persistent memory device for KVM guest. > > It presents the memory address range to virtio-pmem driver over > > virtio channel and

Re: [RFC] qemu: Add virtio pmem device

2018-04-05 Thread David Hildenbrand
On 05.04.2018 12:48, Pankaj Gupta wrote: > This patch adds virtio-pmem Qemu device. > > This device configures memory address range information with file > backend type. It acts like persistent memory device for KVM guest. > It presents the memory address range to virtio-pmem driver over > vi

[RFC] qemu: Add virtio pmem device

2018-04-05 Thread Pankaj Gupta
This patch adds virtio-pmem Qemu device. This device configures memory address range information with file backend type. It acts like persistent memory device for KVM guest. It presents the memory address range to virtio-pmem driver over virtio channel and does the block flush whenever there

[RFC] QEMU: Add virtio pmem device

2017-10-12 Thread Pankaj Gupta
This patch adds virtio-pmem Qemu device. This device configures memory address range information with file backend type. It acts like persistent memory device for KVM guest. It presents the memory address range to virtio-pmem driver over virtio channel and does the block flush whenever there