Eric Blake
1859939a74
qemu: use -incoming fd:n to avoid qemu holding fd indefinitely
...
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.
2011-01-17 09:24:41 -07:00
..
2010-12-02 11:13:09 +01:00
2010-07-28 16:47:56 -04:00
2010-07-28 16:47:56 -04:00
2010-07-21 11:33:11 +01:00
2010-07-21 11:33:11 +01:00
2009-07-09 20:04:09 +01:00
2010-07-21 11:33:11 +01:00
2009-07-09 20:04:09 +01:00
2010-07-21 11:33:11 +01:00
2010-07-27 16:38:32 -04:00
2010-07-27 16:38:32 -04:00
2010-07-27 16:38:32 -04:00
2010-07-27 16:38:32 -04:00
2009-07-09 20:04:09 +01:00
2010-07-21 11:33:11 +01:00
2011-01-17 17:18:56 +01:00
2011-01-17 17:18:56 +01:00
2009-09-22 16:13:33 +01:00
2010-07-21 11:33:11 +01:00
2010-07-21 11:35:21 +01:00
2010-07-21 11:33:11 +01:00
2010-07-21 11:35:21 +01:00
2010-07-21 11:33:11 +01:00
2010-07-21 11:35:21 +01:00
2010-07-21 11:33:11 +01:00
2010-03-01 18:43:04 +00:00
2010-07-21 11:33:11 +01:00
2009-07-09 20:04:09 +01:00
2010-07-21 11:33:11 +01:00
2009-07-09 20:04:09 +01:00
2010-07-21 11:33:11 +01:00
2010-03-01 18:41:40 +00:00
2010-07-21 11:33:11 +01:00
2010-07-28 16:47:56 -04:00
2010-07-28 16:47:56 -04:00
2010-07-21 11:35:21 +01:00
2010-07-21 11:33:11 +01:00
2009-07-09 20:04:09 +01:00
2010-07-28 16:47:59 -04:00
2010-07-28 16:48:00 -04:00
2010-07-28 16:48:00 -04:00
2010-12-02 11:13:09 +01:00
2010-12-02 11:13:09 +01:00
2010-12-02 11:13:09 +01:00
2010-12-02 11:13:09 +01:00
2010-12-02 11:13:09 +01:00
2010-12-02 11:13:09 +01:00
2010-12-02 11:13:09 +01:00
2010-12-02 11:13:09 +01:00
2010-12-02 11:13:09 +01:00
2010-12-02 11:13:09 +01:00
2010-12-02 11:13:09 +01:00
2010-12-02 11:13:09 +01:00
2010-12-02 11:13:09 +01:00
2010-12-02 11:13:09 +01:00
2010-12-02 11:13:09 +01:00
2010-12-02 11:13:09 +01:00
2010-01-15 17:55:59 +00:00
2010-07-21 11:33:11 +01:00
2009-07-09 20:04:09 +01:00
2010-07-21 11:33:11 +01:00
2010-01-15 17:55:59 +00:00
2010-07-21 11:33:11 +01:00
2010-08-04 18:31:44 +02:00
2010-07-21 11:33:11 +01:00
2010-01-15 17:55:59 +00:00
2010-07-21 11:33:11 +01:00
2010-01-15 17:55:59 +00:00
2010-07-21 11:33:11 +01:00
2010-01-15 17:55:59 +00:00
2010-07-21 11:33:11 +01:00
2010-01-15 17:55:59 +00:00
2010-07-21 11:33:11 +01:00
2010-01-15 17:55:59 +00:00
2010-07-21 11:33:11 +01:00
2010-01-15 17:55:59 +00:00
2010-07-21 11:33:11 +01:00
2010-04-09 03:35:47 -04:00
2010-07-21 11:33:11 +01:00
2010-03-26 16:35:18 -04:00
2010-07-21 11:33:11 +01:00
2010-08-04 18:31:44 +02:00
2010-07-21 11:33:11 +01:00
2010-08-04 18:31:44 +02:00
2010-07-21 11:33:11 +01:00
2010-12-09 14:20:53 -07:00
2010-12-09 14:20:53 -07:00
2010-12-09 14:20:53 -07:00
2010-12-09 14:20:53 -07:00
2010-12-09 14:20:53 -07:00
2010-12-09 14:20:53 -07:00
2010-07-21 11:35:21 +01:00
2010-07-21 11:33:11 +01:00
2010-10-26 10:31:50 +02:00
2010-10-26 10:31:50 +02:00
2010-01-15 17:55:59 +00:00
2010-07-21 11:33:11 +01:00
2009-07-09 20:04:09 +01:00
2010-07-21 11:33:11 +01:00
2009-07-09 20:04:09 +01:00
2010-07-21 11:33:11 +01:00
2010-07-28 16:47:56 -04:00
2010-07-28 16:47:56 -04:00
2010-07-28 16:47:56 -04:00
2010-07-28 16:47:56 -04:00
2010-07-21 11:35:21 +01:00
2010-07-21 11:33:11 +01:00
2009-07-09 20:04:09 +01:00
2010-07-21 11:33:11 +01:00
2010-08-04 18:31:44 +02:00
2010-07-21 11:33:11 +01:00
2010-08-04 18:31:44 +02:00
2010-07-21 11:33:11 +01:00
2010-06-23 14:08:05 +01:00
2010-07-21 11:33:11 +01:00
2010-01-15 17:55:59 +00:00
2010-07-21 11:33:11 +01:00
2010-10-13 12:04:50 +01:00
2010-10-13 12:04:50 +01:00
2009-07-09 20:04:09 +01:00
2010-07-21 11:33:11 +01:00
2009-07-09 20:04:09 +01:00
2010-07-21 11:33:11 +01:00
2010-11-09 11:47:26 +00:00
2010-11-09 13:52:20 +00:00
2009-09-29 17:15:52 +01:00
2010-07-21 11:33:11 +01:00
2009-09-29 17:15:52 +01:00
2010-07-21 11:33:11 +01:00
2009-09-29 17:15:52 +01:00
2010-07-21 11:33:11 +01:00
2010-07-21 11:35:21 +01:00
2010-07-21 11:33:11 +01:00
2009-07-09 20:04:09 +01:00
2010-07-21 11:33:11 +01:00
2010-10-26 10:19:07 -06:00
2010-07-21 11:33:11 +01:00
2010-10-26 10:19:07 -06:00
2010-07-21 11:33:11 +01:00
2010-01-09 09:25:04 +01:00
2010-07-21 11:33:11 +01:00
2009-07-09 20:04:09 +01:00
2010-07-21 11:33:11 +01:00
2009-07-09 20:04:09 +01:00
2010-07-21 11:33:11 +01:00
2009-09-29 17:15:52 +01:00
2010-07-21 11:33:11 +01:00
2009-09-10 12:37:42 +01:00
2010-07-21 11:33:11 +01:00
2009-09-10 12:37:43 +01:00
2010-07-21 11:33:11 +01:00
2010-10-12 19:26:09 +02:00
2010-10-12 19:26:09 +02:00
2009-07-09 20:04:09 +01:00
2010-07-21 11:33:11 +01:00
2009-07-09 20:04:09 +01:00
2010-07-21 11:33:11 +01:00
2009-07-09 20:04:09 +01:00
2010-07-21 11:33:11 +01:00
2009-07-09 20:04:09 +01:00
2010-07-21 11:33:11 +01:00
2009-09-22 16:13:33 +01:00
2010-07-21 11:33:11 +01:00
2009-07-09 20:04:09 +01:00
2010-07-21 11:33:11 +01:00
2010-02-02 16:31:47 +00:00
2010-07-21 11:33:11 +01:00
2009-07-09 20:04:09 +01:00
2010-07-21 11:33:11 +01:00
2009-07-09 20:04:09 +01:00
2010-07-21 11:33:11 +01:00
2010-07-21 11:35:21 +01:00
2010-07-21 11:33:11 +01:00
2010-07-21 11:35:21 +01:00
2010-07-21 11:33:11 +01:00
2009-07-09 20:04:09 +01:00
2010-07-21 11:33:11 +01:00
2010-01-18 13:55:57 +00:00
2010-07-21 11:33:11 +01:00
2010-12-08 16:45:10 +01:00
2010-12-08 16:45:10 +01:00
2010-07-21 11:35:21 +01:00
2010-07-21 11:33:11 +01:00
2009-07-09 20:04:09 +01:00
2010-07-21 11:33:11 +01:00
2010-07-23 17:30:45 -04:00
2010-07-23 17:30:45 -04:00
2010-07-23 17:30:45 -04:00
2010-07-23 17:30:45 -04:00
2009-07-09 20:04:09 +01:00
2010-07-21 11:33:11 +01:00
2011-01-17 09:24:41 -07:00
2011-01-17 09:24:41 -07:00
2009-07-09 20:04:09 +01:00
2010-07-21 11:33:11 +01:00
2010-07-21 11:35:21 +01:00
2010-07-21 11:33:11 +01:00
2009-07-09 20:04:09 +01:00
2010-07-28 16:47:59 -04:00
2010-07-21 11:35:21 +01:00
2010-07-21 11:33:11 +01:00
2009-07-09 20:04:09 +01:00
2010-07-28 16:47:59 -04:00
2010-07-21 11:35:21 +01:00
2010-07-21 11:33:11 +01:00
2009-07-09 20:04:09 +01:00
2010-07-28 16:47:59 -04:00
2010-07-21 11:35:21 +01:00
2010-07-21 11:33:11 +01:00
2009-07-09 20:04:09 +01:00
2010-07-28 16:47:59 -04:00
2010-07-21 11:35:21 +01:00
2010-07-21 11:33:11 +01:00
2010-07-21 11:35:21 +01:00
2010-07-21 11:33:11 +01:00
2009-07-09 20:04:09 +01:00
2010-07-28 16:47:59 -04:00
2009-07-09 20:04:09 +01:00
2010-07-28 16:47:59 -04:00
2010-07-21 11:35:21 +01:00
2010-07-21 11:33:11 +01:00
2009-07-09 20:04:09 +01:00
2010-07-28 16:47:59 -04:00
2010-07-21 11:35:21 +01:00
2010-07-21 11:33:11 +01:00
2009-07-09 20:04:09 +01:00
2010-07-28 16:47:59 -04:00
2010-07-21 11:35:21 +01:00
2010-07-21 11:33:11 +01:00
2009-07-09 20:04:09 +01:00
2010-07-28 16:47:59 -04:00
2010-12-07 08:49:45 -07:00
2010-12-07 08:49:45 -07:00
2010-10-19 10:06:33 -06:00
2010-10-19 09:58:18 -06:00
2010-07-21 11:35:21 +01:00
2010-07-21 11:33:11 +01:00
2009-07-09 20:04:09 +01:00
2010-07-21 11:33:11 +01:00
2011-01-11 08:28:54 -07:00
2010-07-21 11:33:11 +01:00
2010-12-10 08:00:05 -07:00
2010-12-10 08:00:05 -07:00
2009-10-21 16:37:44 +01:00
2010-07-21 11:33:11 +01:00