Re: [libvirt PATCH] qemu: do not attempt to pass unopened vsock FD

2022-10-20 Thread Peter Krempa
On Thu, Oct 20, 2022 at 16:27:45 +0200, Ján Tomko wrote: > On normal vm startup, we open a file descriptor > for the vsock device in qemuProcessPrepareHost. > > However, when doing domxml-to-native, no file descriptors are open. > > Only pass the fd if it's not -1, to make domxml-to-native work.

[libvirt PATCH] qemu: do not attempt to pass unopened vsock FD

2022-10-20 Thread Ján Tomko
On normal vm startup, we open a file descriptor for the vsock device in qemuProcessPrepareHost. However, when doing domxml-to-native, no file descriptors are open. Only pass the fd if it's not -1, to make domxml-to-native work. https://bugzilla.redhat.com/show_bug.cgi?id=1777212 Signed-off-by: