Re: [PATCH v3 2/2] hw/arm/virt: Support for virtio-mem-pci

2022-01-10 Thread David Hildenbrand
On 10.01.22 11:50, Peter Maydell wrote: > On Sat, 8 Jan 2022 at 07:22, Gavin Shan wrote: >> >> Hi Peter, >> >> On 1/8/22 12:40 AM, Peter Maydell wrote: >>> On Fri, 3 Dec 2021 at 23:34, Gavin Shan wrote: diff --git a/hw/virtio/virtio-mem.c b/hw/virtio/virtio-mem.c index b20595a496..21e4d

Re: [PATCH v3 2/2] hw/arm/virt: Support for virtio-mem-pci

2022-01-10 Thread Peter Maydell
On Sat, 8 Jan 2022 at 07:22, Gavin Shan wrote: > > Hi Peter, > > On 1/8/22 12:40 AM, Peter Maydell wrote: > > On Fri, 3 Dec 2021 at 23:34, Gavin Shan wrote: > >> diff --git a/hw/virtio/virtio-mem.c b/hw/virtio/virtio-mem.c > >> index b20595a496..21e4d572ab 100644 > >> --- a/hw/virtio/virtio-mem.c

Re: [PATCH v3 2/2] hw/arm/virt: Support for virtio-mem-pci

2022-01-07 Thread Gavin Shan
Hi Peter, On 1/8/22 12:40 AM, Peter Maydell wrote: On Fri, 3 Dec 2021 at 23:34, Gavin Shan wrote: This supports virtio-mem-pci device on "virt" platform, by simply following the implementation on x86. * This implements the hotplug handlers to support virtio-mem-pci device hot-add,

Re: [PATCH v3 2/2] hw/arm/virt: Support for virtio-mem-pci

2022-01-07 Thread Peter Maydell
On Fri, 3 Dec 2021 at 23:34, Gavin Shan wrote: > > This supports virtio-mem-pci device on "virt" platform, by simply > following the implementation on x86. > >* This implements the hotplug handlers to support virtio-mem-pci > device hot-add, while the hot-remove isn't supported as we have

[PATCH v3 2/2] hw/arm/virt: Support for virtio-mem-pci

2021-12-03 Thread Gavin Shan
This supports virtio-mem-pci device on "virt" platform, by simply following the implementation on x86. * This implements the hotplug handlers to support virtio-mem-pci device hot-add, while the hot-remove isn't supported as we have on x86. * The block size is 512MB on ARM64 instea