diff options
author | Stefano Stabellini <stefano.stabellini@eu.citrix.com> | 2014-01-03 14:02:09 -0500 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2014-01-07 09:59:54 -0500 |
commit | b1a3b1c8a8d963424c4699efa64dd8986b2f76d7 (patch) | |
tree | 7a6346f32c17dc77526fee2df35338cd7390c607 | |
parent | be1403b9e66bea9d64db9198256cb27532a870b1 (diff) |
xen/fb: allow xenfb initialization for hvm guests
There is no reasons why an HVM guest shouldn't be allowed to use xenfb.
As a matter of fact ARM guests, HVM from Linux POV, can use xenfb.
Given that no Xen toolstacks configure a xenfb backend for x86 HVM
guests, they are not affected.
Please note that at this time QEMU needs few outstanding fixes to
provide xenfb on ARM:
http://marc.info/?l=qemu-devel&m=138739419700837&w=2
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: David Vrabel <david.vrabel@citrix.com>
CC: boris.ostrovsky@oracle.com
CC: plagnioj@jcrosoft.com
CC: tomi.valkeinen@ti.com
CC: linux-fbdev@vger.kernel.org
CC: konrad.wilk@oracle.com
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Acked-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
-rw-r--r-- | drivers/video/xen-fbfront.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/xen-fbfront.c b/drivers/video/xen-fbfront.c index 4b2d3ab870f3..901014bbc821 100644 --- a/drivers/video/xen-fbfront.c +++ b/drivers/video/xen-fbfront.c | |||
@@ -693,7 +693,7 @@ static DEFINE_XENBUS_DRIVER(xenfb, , | |||
693 | 693 | ||
694 | static int __init xenfb_init(void) | 694 | static int __init xenfb_init(void) |
695 | { | 695 | { |
696 | if (!xen_pv_domain()) | 696 | if (!xen_domain()) |
697 | return -ENODEV; | 697 | return -ENODEV; |
698 | 698 | ||
699 | /* Nothing to do if running in dom0. */ | 699 | /* Nothing to do if running in dom0. */ |