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] Balloon driver for Linux/HVM

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Balloon driver for Linux/HVM
From: Chu Rui <ruichu@xxxxxxxxx>
Date: Tue, 16 Nov 2010 18:49:36 +0800
Delivery-date: Tue, 16 Nov 2010 02:50:13 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=J9D6zPJ7dbbNI1fYMj3XiOg+jHfRpEo8OcnyIW00f+U=; b=RH8pRTGiFwVQbaZupd/o2Vcbvq5WlwANdRpjAnjhXErETrJeLGvQnR98qocYPeey3A bet/mlGYvzoKgHhqaMMbUjhDfx1dYLauH6oZKOqHHusEeJE0qnFN/qOoTaMLE9RhrM61 xsg3jH3FhQ+enmxSPvf+46kMVCn5xjq+86kLw=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=hJIuEN0ohSpX1tPFRPsm36QRYtFoUblpPLqTe9Ss6ALjxNY4PjGy9MZhFBfINfMTiO RHmw4fblvKzZ+gzCEQxgs4n0pXAO+hkf8UdJsdKawT8qtHgDZ292XWZdEH2KZyP4MaKd SFx7VWrB5KWMV8QyyALjXPlEmTeJ970ZNRlNM=
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel