Re: [PATCH 5/7] qemu: use -incoming fd:n to avoid qemu holding fd indefinitely

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2011/1/14 Eric Blake <eblake@xxxxxxxxxx>:
> https://bugzilla.redhat.com/show_bug.cgi?id=620363
>
> When using -incoming stdio or -incoming exec:, qemu keeps the
> stdin fd open long after the migration is complete. ÂNot to
> mention that exec:cat is horribly inefficient, by doubling the
> I/O and going through a popen interface in qemu.
>
> The new -incoming fd: of qemu 0.12.0 closes the fd after using
> it, and allows us to bypass an intermediary cat process for
> less I/O.
>
> * src/qemu/qemu_command.h (qemuBuildCommandLine): Add parameter.
> * src/qemu/qemu_command.c (qemuBuildCommandLine): Support
> migration via fd: when possible. ÂConsolidate migration handling
> into one spot, now that it is more complex.
> * src/qemu/qemu_driver.c (qemudStartVMDaemon): Update caller.
> * tests/qemuxml2argvtest.c (mymain): Likewise.
> * tests/qemuxml2argvdata/qemuxml2argv-restore-v2-fd.args: New file.
> * tests/qemuxml2argvdata/qemuxml2argv-restore-v2-fd.xml: Likewise.
> ---

ACK.

Matthias

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]