|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v8 21/21] libxl: add support for migrating HVM guests without a device model
CC Andrew
On Fri, Nov 06, 2015 at 05:05:55PM +0100, Roger Pau Monne wrote:
> Only some minor libxl changes are needed in order to be able to migrate HVM
> guests without a device model, no hypervisor changes are needed.
>
> This change prevents sending the emulator context if the device model
> version is set to none.
>
> Signed-off-by: Roger Pau Monné <roger.pau@xxxxxxxxxx>
> Cc: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
> Cc: Ian Campbell <ian.campbell@xxxxxxxxxx>
> Cc: Wei Liu <wei.liu2@xxxxxxxxxx>
> ---
> Changes since v7:
> - Prevent sending the emulator context and xenstore record in
> write_emulator_context_record and write_emulator_xenstore_record.
> - Error out if an emulator record is received for a no-dm guest.
I think this is in line with what you and Andrew discussed in previous
version. If Andrew is happy with this, I'm happy with it, too.
>
> + if (libxl__device_model_version_running(gc, dss->domid) ==
> + LIBXL_DEVICE_MODEL_VERSION_NONE) {
> + emulator_xenstore_record_done(egc, stream);
> + return;
> + }
> +
> rc = libxl__save_emulator_xenstore_data(dss, &buf, &len);
> if (rc)
> goto err;
> @@ -387,6 +396,7 @@ static void emulator_xenstore_record_done(libxl__egc *egc,
> libxl__stream_write_state *stream)
> {
> libxl__domain_suspend_state *dss = stream->dss;
> + STATE_AO_GC(stream->ao);
>
This is redundant.
Wei.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |