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-ia64-devel

[Xen-ia64-devel] [PATCH] Close nvram file when rebooting HVM domain

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-ia64-devel] [PATCH] Close nvram file when rebooting HVM domain
From: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>
Date: Tue, 11 Dec 2007 11:11:26 +0900
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 10 Dec 2007 18:12:31 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

On ia64, when I rebooted a HVM domain, a nvram file for the HVM domain 
was not closed.  When I repeated rebooting the HVM domain, a lot of the 
nvram files have still opened as follows. 

# ps aux | grep xend
root      4215  0.0  0.2  81600 11840 ?        S    10:00   0:00 python 
/usr/sbin/xend start
root      4221  0.3  0.7 223664 29136 ?        Sl   10:00   0:03 python 
/usr/sbin/xend start
root      5189  0.0  0.0  60432  1824 pts/0    S+   10:17   0:00 grep xend
# ls -l /proc/4221/fd | grep nvram
lrwx------ 1 root root 64 Dec 11 10:05 23 -> 
/var/lib/xen/nvram/nvram_HVMdomain.1
lrwx------ 1 root root 64 Dec 11 10:14 24 -> 
/var/lib/xen/nvram/nvram_HVMdomain.1
lrwx------ 1 root root 64 Dec 11 10:14 25 -> 
/var/lib/xen/nvram/nvram_HVMdomain.1
lrwx------ 1 root root 64 Dec 11 10:16 26 -> 
/var/lib/xen/nvram/nvram_HVMdomain.1
lrwx------ 1 root root 64 Dec 11 10:08 4 -> /var/lib/xen/nvram/nvram_HVMdomain.1

This patch closes a nvram file for a HVM domain when the HVM domain 
rebooted.


Signed-off-by: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>

Best regards,
 Kan

Attachment: close_nvram_file.patch
Description: Binary data

_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel
<Prev in Thread] Current Thread [Next in Thread>