WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Why call HYPERVISOR_shutdown() instead of HYPERVISOR_reboot(

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Why call HYPERVISOR_shutdown() instead of HYPERVISOR_reboot() in freebsd-xenU source?
From: lepton <ytht.net@xxxxxxxxx>
Date: Tue, 9 Aug 2005 09:27:14 +0800
Delivery-date: Tue, 09 Aug 2005 10:51:05 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:subject:message-id:mime-version:content-type:content-disposition:user-agent; b=soimuBHcJr3GBbIdNl34bV14mQH/ecy7MjGzsyZfWwWxOsMfVr7nbPnv9RwY6Lnzor+KuFsMo3ac51zlxmSeQLXTiOq5NQklGqK1b24VgsDl3bNfySCXjI8iMIoUnOzbrgkr0q/ySJ07WQizahoOy34zr0cIttBye/EXkNLLK1o=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.9i
I look into xen source code

find in function cpu_reset in

freebsd-5.3-xen-sparse/i386-xen/i386-xen/vm_machdep.c

we call HYPERVISOR_shutdown() instead of HYPERVISOR_reboot()

I changed it to HYPERVISOR_reboot(), found it seems to work.


But I think there must be some reason why the xen source not to do this.
Is there any special issue about this?

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] Why call HYPERVISOR_shutdown() instead of HYPERVISOR_reboot() in freebsd-xenU source?, lepton <=