[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 2/6] spice: client migration.
From: |
Daniel P. Berrange |
Subject: |
Re: [Qemu-devel] [PATCH 2/6] spice: client migration. |
Date: |
Mon, 10 Jan 2011 16:18:17 +0000 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Mon, Jan 10, 2011 at 05:08:40PM +0100, Gerd Hoffmann wrote:
> On 01/10/11 16:57, Alon Levy wrote:
> >>>+spice_migrate_info
> >>>+------------------
> >>>+
> >>>+Set the spice connection info for the migration target. The spice
> >>>+server will ask the spice client to automatically reconnect using the
> >>>+new parameters (if specified) once the vm migration finished
> >>>+successfully.
> >>>+
> >>>+Arguments:
> >>>+
> >>>+- "hostname": migration target hostname (json-string)
> >>>+- "port": spice tcp port for plaintext channels (json-int,
> >>>optional)
> >>>+- "tls-port": spice tcp port for tls-secured channels (json-int,
> >>>optional)
> >>>+- "cert-subject": server certificate subject (json-string, optional)
> >>>+
> >>>+Example:
> >>>+
> >>>+-> { "execute": "spice_migrate_info",
> >>>+ "arguments": { "hostname": "virt42.lab.kraxel.org", "port": 1234 } }
> >>>+<- { "return": {} }
> >>
> >>I'm wondering whether we should make this command more
> >>generic, because I could likely write up a VNC extension
> >>that provides the same functionality that SPICE has here.
> >>so, 'graphics_migrate_info @var{spice|vnc|...} ...other vars..'
> >
> >Considering it isn't actually just graphics how about client_migrate_info?
>
> I like client_migrate_info and it fits both spice+vnc naming too.
>
> Given that vnc just needs hostname and port (which are present
> already) and the arguments not used by vnc are optional all we need
> to do is rename the command and add a "protocol" argument similar to
> "set_password", correct?
Yeah, that sounds sufficient to me.
Regards,
Daniel
- [Qemu-devel] [PULL 0/6] spice patch queue, Gerd Hoffmann, 2011/01/10
- [Qemu-devel] [PATCH 4/6] vnc/spice: fix "never" and "now" expire_time, Gerd Hoffmann, 2011/01/10
- [Qemu-devel] [PATCH 3/6] spice: MAINTAINERS update, Gerd Hoffmann, 2011/01/10
- [Qemu-devel] [PATCH 2/6] spice: client migration., Gerd Hoffmann, 2011/01/10
- Re: [Qemu-devel] [PATCH 2/6] spice: client migration., Daniel P. Berrange, 2011/01/10
- Re: [Qemu-devel] [PATCH 2/6] spice: client migration., Alon Levy, 2011/01/10
- Re: [Qemu-devel] [PATCH 2/6] spice: client migration., Gerd Hoffmann, 2011/01/10
- Re: [Qemu-devel] [PATCH 2/6] spice: client migration.,
Daniel P. Berrange <=
- Re: [Qemu-devel] [PATCH 2/6] spice: client migration., Gerd Hoffmann, 2011/01/10
- Re: [Qemu-devel] [PATCH 2/6] spice: client migration., Alon Levy, 2011/01/10
- Re: [Qemu-devel] [PATCH 2/6] spice: client migration., Daniel P. Berrange, 2011/01/10
- Re: [Qemu-devel] [PATCH 2/6] spice: client migration., Gerd Hoffmann, 2011/01/11
[Qemu-devel] [PATCH 1/6] add migration state change notifiers, Gerd Hoffmann, 2011/01/10
[Qemu-devel] [PATCH 6/6] spice: add chardev (v4), Gerd Hoffmann, 2011/01/10
[Qemu-devel] [PATCH 5/6] spice/qxl: zap spice 0.4 migration compatibility bits, Gerd Hoffmann, 2011/01/10