|
From: | Kevin Wolf |
Subject: | Re: [Qemu-devel] QEMU interfaces for image streaming and post-copy block migration |
Date: | Wed, 08 Sep 2010 10:26:40 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.11) Gecko/20100720 Fedora/3.0.6-1.fc12 Thunderbird/3.0.6 |
Am 07.09.2010 17:09, schrieb Stefan Hajnoczi: > Right, I'm a little hesitant to get too far into discussing the > management interface because I remember long threads about polling and > async. I never fully read them but I bet some wisdom came out of them > that applies here. > > There are two ways to do a long running (async?) task: > 1. Multiple smaller pokes. Perhaps completion of a single poke is > async. But the key is that the interface is incremental and driven by > the management stack. > 2. State. Turn on streaming and watch it go. You can find out its > current state using another command which will tell you whether it is > enabled/disabled and progress. Use a command to disable it. I think we need option 2 in any case for users not using libvirt. I for one wouldn't really love to type in monitor commands every few seconds to get the streaming done. ;-) Let's start with this. We can always add option 1 for more sophisticated cases later if it's desired by users. Kevin
[Prev in Thread] | Current Thread | [Next in Thread] |