* Does Xen support nested VM migration
@ 2015-07-01 2:49 Han, Huaitong
2015-07-01 7:50 ` Andrew Cooper
0 siblings, 1 reply; 4+ messages in thread
From: Han, Huaitong @ 2015-07-01 2:49 UTC (permalink / raw)
To: xen-devel@lists.xen.org
Hi, all,
When I create a L1 guest with nestedhvm=1, and create a L2 guest in L1
guest, then migrate L1 guest, but the operation fails, and I find the
bugfix requires a lot of work.
Does Xen support the operation? I guess the nestedvm migration feature
is not at all implemented.
Thanks a lot
Huaitong
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Does Xen support nested VM migration
2015-07-01 2:49 Does Xen support nested VM migration Han, Huaitong
@ 2015-07-01 7:50 ` Andrew Cooper
2015-07-01 8:56 ` Han, Huaitong
0 siblings, 1 reply; 4+ messages in thread
From: Andrew Cooper @ 2015-07-01 7:50 UTC (permalink / raw)
To: Han, Huaitong, xen-devel@lists.xen.org
On 01/07/2015 03:49, Han, Huaitong wrote:
> Hi, all,
>
> When I create a L1 guest with nestedhvm=1, and create a L2 guest in L1
> guest, then migrate L1 guest, but the operation fails, and I find the
> bugfix requires a lot of work.
Fails in what way?
> Does Xen support the operation? I guess the nestedvm migration feature
> is not at all implemented.
Nested virtualisation is still experimental, and there are areas with
known issues, and scenarios which I expect have never been tried.
Having said that, there is nothing I am of with migration which I would
expect to break or need further fixing in a nested scenario.
~Andrew
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Does Xen support nested VM migration
2015-07-01 7:50 ` Andrew Cooper
@ 2015-07-01 8:56 ` Han, Huaitong
2015-07-01 9:58 ` Andrew Cooper
0 siblings, 1 reply; 4+ messages in thread
From: Han, Huaitong @ 2015-07-01 8:56 UTC (permalink / raw)
To: andrew.cooper3@citrix.com; +Cc: xen-devel@lists.xen.org
On Wed, 2015-07-01 at 08:50 +0100, Andrew Cooper wrote:
> On 01/07/2015 03:49, Han, Huaitong wrote:
> > Hi, all,
> >
> > When I create a L1 guest with nestedhvm=1, and create a L2 guest in L1
> > guest, then migrate L1 guest, but the operation fails, and I find the
> > bugfix requires a lot of work.
>
> Fails in what way?
The xen hypervisor in L1 guest has execute "vmxon" and
nvmx->vmxon_region_pa get the value, after L1 migration, vmxon impact is
lost and nvmx->vmxon_region_pa==0 , when L2 guest has some operation
like VMREAD or VMWRITE, vmx_inst_check_privilege will return 1, and L1
guest maybe hang or panic.
>
> > Does Xen support the operation? I guess the nestedvm migration feature
> > is not at all implemented.
>
> Nested virtualisation is still experimental, and there are areas with
> known issues, and scenarios which I expect have never been tried.
>
> Having said that, there is nothing I am of with migration which I would
> expect to break or need further fixing in a nested scenario.
>
> ~Andrew
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Does Xen support nested VM migration
2015-07-01 8:56 ` Han, Huaitong
@ 2015-07-01 9:58 ` Andrew Cooper
0 siblings, 0 replies; 4+ messages in thread
From: Andrew Cooper @ 2015-07-01 9:58 UTC (permalink / raw)
To: Han, Huaitong; +Cc: xen-devel@lists.xen.org
On 01/07/15 09:56, Han, Huaitong wrote:
> On Wed, 2015-07-01 at 08:50 +0100, Andrew Cooper wrote:
>> On 01/07/2015 03:49, Han, Huaitong wrote:
>>> Hi, all,
>>>
>>> When I create a L1 guest with nestedhvm=1, and create a L2 guest in L1
>>> guest, then migrate L1 guest, but the operation fails, and I find the
>>> bugfix requires a lot of work.
>> Fails in what way?
> The xen hypervisor in L1 guest has execute "vmxon" and
> nvmx->vmxon_region_pa get the value, after L1 migration, vmxon impact is
> lost and nvmx->vmxon_region_pa==0 , when L2 guest has some operation
> like VMREAD or VMWRITE, vmx_inst_check_privilege will return 1, and L1
> guest maybe hang or panic.
Ah yes - I remember this now. I raised it as a concern about a year ago
when rewriting migration and finding no information along these lines in
the migration stream.
To support this, you will need to add a new per-vcpu record in the
hypervisor migration stream which sends the VMX architectural state from
the source to the destination.
~Andrew
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-07-01 9:58 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-01 2:49 Does Xen support nested VM migration Han, Huaitong
2015-07-01 7:50 ` Andrew Cooper
2015-07-01 8:56 ` Han, Huaitong
2015-07-01 9:58 ` Andrew Cooper
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.