You need to migrate a running QEMU VM to a remote host using live migration. Which command-line argument for QEMU-KVM initiates a migration to a target host at 192.168.1.50 on port 4444?
Trap 1: -remote 192.168.1.50:4444
QEMU has no -remote argument; migration is driven by -incoming on the destination and the migrate monitor command on the source. It is tempting because it reads like a direct host pointer, and would fit a tool exposing an explicit remote-target flag.
Trap 2: -live-migrate 192.168.1.50:4444
This is not a valid QEMU argument.
Trap 3: -incoming tcp:192.168.1.50:4444
-incoming configures the destination to accept a migration; it does not initiate one from the source host. It is tempting because it names the correct tcp:host:port syntax, and would be right on the receiving machine listening for the incoming stream.
- A
-remote 192.168.1.50:4444
Why it fails: QEMU has no -remote argument; migration is driven by -incoming on the destination and the migrate monitor command on the source. It is tempting because it reads like a direct host pointer, and would fit a tool exposing an explicit remote-target flag.
- B
-migrate tcp:192.168.1.50:4444
Correct syntax for initiating migration via CLI.
- C
-live-migrate 192.168.1.50:4444
Why it fails: This is not a valid QEMU argument.
- D
-incoming tcp:192.168.1.50:4444
Why it fails: -incoming configures the destination to accept a migration; it does not initiate one from the source host. It is tempting because it names the correct tcp:host:port syntax, and would be right on the receiving machine listening for the incoming stream.