[PATCH 2/2] test_driver: provide basic disk hotunplug support

2024-10-03 Thread John Levon via Devel
Signed-off-by: John Levon --- src/test/test_driver.c | 114 - 1 file changed, 112 insertions(+), 2 deletions(-) diff --git a/src/test/test_driver.c b/src/test/test_driver.c index b7e36e8451..789b1a 100644 --- a/src/test/test_driver.c +++ b/src/test/tes

[PATCH 1/2] test_driver: provide basic disk hotplug support

2024-10-03 Thread John Levon via Devel
Add some basic plumbing, based on the qemu driver. Signed-off-by: John Levon --- src/test/test_driver.c | 162 - 1 file changed, 161 insertions(+), 1 deletion(-) diff --git a/src/test/test_driver.c b/src/test/test_driver.c index 03afe8af8d..b7e36e8451 100

[PATCH 0/2] add disk hotplug/unplug support to test hypervisor

2024-10-03 Thread John Levon via Devel
John Levon (2): test_driver: provide basic disk hotplug support test_driver: provide basic disk hotunplug support src/test/test_driver.c | 276 - 1 file changed, 273 insertions(+), 3 deletions(-) -- 2.34.1

Re: [PATCH 1/2] test_driver: provide basic NIC hotplug support

2024-10-02 Thread John Levon via Devel
On Wed, Oct 02, 2024 at 03:55:58PM +0200, Martin Kletzander wrote: > If you are fine with me removing the audit call, audit header include > and changing the "!ret" to "ret == 0", I'll fixup those changes and push > it as I'm fine with these patches given that modifications. Let me know. That'd

Re: [PATCH 1/2] test_driver: provide basic NIC hotplug support

2024-10-02 Thread John Levon via Devel
On Wed, Oct 02, 2024 at 01:00:33PM +0200, Martin Kletzander wrote: > > static int > > testDomainAttachHostDevice(testDriver *driver, > >virDomainObj *vm, > > @@ -10144,28 +10232,68 @@ testDomainAttachDeviceLive(virDomainObj *vm, > >testDriver