[PATCH v1 0/1] Add support for namespace attach/detach during runtime

2023-05-05 Thread Daniel Wagner
1 /dev/nvme0n1 /dev/ng0n1 0x1 1.07 GB / 1.07 GB512 B + 0 B nvme0 [1] https://lore.kernel.org/all/Y195nENga028PvT9@cormorant.local/ Daniel Wagner (1): hw/nvme: Add hotplug handler to nvme bus hw/nvme/ctrl.c | 13 + 1 file changed, 13 insertions(+) -- 2.40.0

[PATCH v1 1/1] hw/nvme: Add hotplug handler to nvme bus

2023-05-05 Thread Daniel Wagner
Support attaching/detaching namespaces during runtime. Signed-off-by: Daniel Wagner --- hw/nvme/ctrl.c | 13 + 1 file changed, 13 insertions(+) diff --git a/hw/nvme/ctrl.c b/hw/nvme/ctrl.c index ac24eeb5ed5a..7bddbc644cae 100644 --- a/hw/nvme/ctrl.c +++ b/hw/nvme/ctrl.c @@ -8314,6

Re: [PATCH] hw/block/nvme: re-enable NVMe PCI hotplug

2022-10-21 Thread Daniel Wagner
On Tue, Oct 18, 2022 at 10:15:57AM +0200, Daniel Wagner wrote: > On Mon, Oct 10, 2022 at 07:15:08PM +0200, Klaus Jensen wrote: > > This is all upstream. Namespaces with 'shared=on' *should* all be > > automatically attached to any hotplugged controller devices. > >

Re: [PATCH] hw/block/nvme: re-enable NVMe PCI hotplug

2022-10-18 Thread Daniel Wagner
On Mon, Oct 10, 2022 at 07:15:08PM +0200, Klaus Jensen wrote: > This is all upstream. Namespaces with 'shared=on' *should* all be > automatically attached to any hotplugged controller devices. > > With what setup is this not working for you? Ah okay, I missed the 'shared=on' bit. Let me try again

Re: [PATCH] hw/block/nvme: re-enable NVMe PCI hotplug

2022-10-10 Thread Daniel Wagner
On Tue, May 11, 2021 at 06:12:47PM +0200, Hannes Reinecke wrote: > On 5/11/21 6:03 PM, Klaus Jensen wrote: > > On May 11 16:54, Hannes Reinecke wrote: > > > On 5/11/21 3:37 PM, Klaus Jensen wrote: > > > > On May 11 15:12, Hannes Reinecke wrote: > > > > > On 5/11/21 2:22 PM, Klaus Jensen wrote: > >