Input: xen-kbdfront - enable driver for HVM guests
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Tue, 5 Jul 2011 02:22:00 +0000 (19:22 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 5 Jul 2011 02:31:19 +0000 (19:31 -0700)
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/misc/xen-kbdfront.c

index 62bae99424e6e436defda3723654816c44be2609..ad2e51c04db89c06faa30b0e07ef70db12221fc1 100644 (file)
@@ -373,7 +373,7 @@ static struct xenbus_driver xenkbd_driver = {
 
 static int __init xenkbd_init(void)
 {
-       if (!xen_pv_domain())
+       if (!xen_domain())
                return -ENODEV;
 
        /* Nothing to do if running in dom0. */