Stefan Berger
2006-Oct-20 21:12 UTC
[Xen-devel] [PATCH] [RFC] Intercept some xm commands on HVM
Hello!
I find some of the xm commands when applied to an HVM domain
misleading:
xm shutdown - behaves like ''xm destroy'' unlike
the
paravirtualized case that gracefully
shuts down a domain; use
''destroy'' instead
for HVM
xm migrate / save - returns
Error: /usr/lib/xen/bin/xc-save ... failed
The attached patch intercepts only those commands now and returns a
''better'' message.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
Ewan Mellor
2006-Oct-20 21:47 UTC
Re: [Xen-devel] [PATCH] [RFC] Intercept some xm commands on HVM
On Fri, Oct 20, 2006 at 05:12:36PM -0400, Stefan Berger wrote:> Hello! > > I find some of the xm commands when applied to an HVM domain > misleading: > > xm shutdown - behaves like ''xm destroy'' unlike the > paravirtualized case that gracefully > shuts down a domain; use ''destroy'' instead > for HVM > xm migrate / save - returns > Error: /usr/lib/xen/bin/xc-save ... failed > > The attached patch intercepts only those commands now and returns a > ''better'' message.These commands aren''t necessarily unsupported for HVM domains -- they need PV driver support, but that''s not a fundamental limitation. We need a decent mechanism for guest capability interrogation, that''s for sure, so that we can give better diagnostics; I''d like to see this mechanism in Xen 3.0.4. For now, I don''t think we can reject these commands unconditionally. Ewan. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel