How could Xen know a certain GuestOS have already shutdown?
Hi everyone! This is probably a familiar problem,
but I haven't found anything in the archives or from google yet.
I also talked with my parterners but we haven't got a sure conclusion. Recently I’m caring about a question about shutdown operation: When we shutdown a GuestOS by giving the command in its terminal, how can hypervisor get to know that this GuestOS is about to shutdown and How can hypervisor know that GuestOS has already done the work of shutdown?
I've traced the VIRQ_DOM_EXC which send from Xen to Dom0 and picked up by xenstored which fires the @releaseDomain watch when a GuestOS start to shutdown.
Here, I still have two questions.
First, I haven't found anything useful in the archives about 'releaseDomain watch'.What is the called '@releaseDomain' ? what's the use of it?
Second,I think that VIRQ_DOM_EXC is the signal used for communicate between hypervisor and Dom0. I talked that with my parterner, we think that when shutdown occurs, GuestOS will first get in touch with hypervisor ,then cause the communication between Xen and Dom0 by VIRQ_DOM_EXC,is that right? What we also want to know is when shutdown operation occurs in GuestOS, how GuestOS communicate with the hypervisor first? Is there any signal or somehow event delivery?
Could anyone tell me more about that?
It's my honor to get all your support! Thanks very much!
--
View this message in context: http://xen.1045712.n5.nabble.com/Re-Xen-devel-How-could-Xen-know-a-certain-GuestOS-have-already-shutdown-tp5711480.html
Sent from the Xen - Dev mailing list archive at Nabble.com.
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 8 lines · Bruce Granger
Hi everyone! This is probably a familiar problem,
but I haven't found anything in the archives or from google yet.
I also talked with my parterners but we haven't got a sure conclusion. Recently I’m caring about a question about shutdown operation: When we shutdown a GuestOS by giving the command in its terminal, how can hypervisor get to know that this GuestOS is about to shutdown and How can hypervisor know that GuestOS has already done the work of shutdown?
Quoted 7 lines
I've traced the
VIRQ_DOM_EXCwhich send from Xen to Dom0 and picked up by xenstored which fires the @releaseDomain watch when a GuestOS start to shutdown.Here, I still have two questions.
First, I haven't found anything useful in the archives about 'releaseDomain watch'.What is the called '@releaseDomain' ? what's the use of it?
Have you grepped in the actual code?
Quoted 7 lines
Second,I think that
VIRQ_DOM_EXCis the signal used for communicate between hypervisor and Dom0. I talked that with my parterner, we think that when shutdown occurs, GuestOS will first get in touch with hypervisor ,then cause the communication between Xen and Dom0 by VIRQ_DOM_EXC,is that right? What we also want to know is when shutdown operation occurs in GuestOS, how GuestOS communicate with the hypervisor first? Is there any signal or somehow event delivery?
I covered this in my reply to you on Friday See Message-ID:
<[email protected]>
Ian.
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel