Re: [PATCH 0/2] qemuxml2argvtest: Don't exec '/usr/libexec/qemu/vhost-user/test-vhost-user-gpu'

2023-12-20 Thread Michal Prívozník
On 12/18/23 15:17, Michal Prívozník wrote: > On 12/18/23 12:02, Peter Krempa wrote: >> 'qemuExtVhostUserGPUPrepareDomain' breaks our design assumptions about >> the 'PrepareDomain' step which should not touch anything on the host. >> >> This patchset for now fixes the symptom by mocking the functio

Re: [PATCH 0/2] qemuxml2argvtest: Don't exec '/usr/libexec/qemu/vhost-user/test-vhost-user-gpu'

2023-12-18 Thread Michal Prívozník
On 12/18/23 12:02, Peter Krempa wrote: > 'qemuExtVhostUserGPUPrepareDomain' breaks our design assumptions about > the 'PrepareDomain' step which should not touch anything on the host. > > This patchset for now fixes the symptom by mocking the function and > poisons virFork and virCommandRun so tha

[PATCH 0/2] qemuxml2argvtest: Don't exec '/usr/libexec/qemu/vhost-user/test-vhost-user-gpu'

2023-12-18 Thread Peter Krempa
'qemuExtVhostUserGPUPrepareDomain' breaks our design assumptions about the 'PrepareDomain' step which should not touch anything on the host. This patchset for now fixes the symptom by mocking the function and poisons virFork and virCommandRun so that this doesn't happen in the future. Proper fix