From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Rui Chu" Subject: Balloon driver for Linux/HVM Date: Tue, 16 Nov 2010 18:46:49 +0800 Message-ID: <489904364.14741@eyou.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1311375765==" Return-path: Message-ID: <201011161846479027344@nudt.edu.cn> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --===============1311375765== Content-Type: multipart/alternative; boundary="=====003_Dragon184450548525_=====" This is a multi-part message in MIME format. --=====003_Dragon184450548525_===== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi, I have noticed that, in the code of linux/drivers/xen/balloon.c, there exists the snippet as this: static int __init balloon_init(void) { unsigned long pfn; struct page *page; if (!xen_pv_domain()) return -ENODEV; ..... } Does it means the driver will not work in HVM? If so, where is the HVN-enabled code for that? 2010-11-16 Rui Chu --=====003_Dragon184450548525_===== Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: 7bit
Hi,
I have noticed that, in the code of linux/drivers/xen/balloon.c, there exists the snippet as this:
 
static int __init balloon_init(void)
{
unsigned long pfn;
struct page *page;
if (!xen_pv_domain())
return -ENODEV;
.....
}
 
Does it means the driver will not work in HVM? If so, where is the HVN-enabled code for that?
 
2010-11-16

Rui Chu
--=====003_Dragon184450548525_=====-- --===============1311375765== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1311375765==--