Re: [Qemu-devel] Suggestion on 'virtio-pmem' implementation

2018-03-14 Thread Pankaj Gupta
Hi David, > > Hi Pankaj, > > I have a prototype (new one for virtio-mem I was working on over the last > weeks) for exactly what you need. I basically factored out the notion of a > memory device. So also virtio devices can be memory devices and get > recognized e.g. in formerly known pc_dimm_g

Re: [Qemu-devel] Suggestion on 'virtio-pmem' implementation

2018-03-14 Thread David Hildenbrand
Hi Pankaj, I have a prototype (new one for virtio-mem I was working on over the last weeks) for exactly what you need. I basically factored out the notion of a memory device. So also virtio devices can be memory devices and get recognized e.g. in formerly known pc_dimm_get_free_address(), so it

[Qemu-devel] Suggestion on 'virtio-pmem' implementation

2018-03-13 Thread Pankaj Gupta
Hi, I am implementing 'virtio-pmem' as a mechanism to flush guest writes with 'fake DAX' flushing interface. Below is the high level details of components: 1] 'virtio-pmem' device expose guest physical address details(start, len). 2] 'virtio-pmem' driver in guest discovers this inf