xen: clean up domain mode predicates
There are four operating modes Xen code may find itself running in: - native - hvm domain - pv dom0 - pv domU Clean up predicates for testing for these states to make them more consistent. Signed-off-by:Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> Cc: Xen-devel <xen-devel@lists.xensource.com> Signed-off-by:
Ingo Molnar <mingo@elte.hu>
Showing
- arch/x86/xen/enlighten.c 7 additions, 2 deletionsarch/x86/xen/enlighten.c
- drivers/block/xen-blkfront.c 1 addition, 1 deletiondrivers/block/xen-blkfront.c
- drivers/char/hvc_xen.c 3 additions, 3 deletionsdrivers/char/hvc_xen.c
- drivers/input/xen-kbdfront.c 2 additions, 2 deletionsdrivers/input/xen-kbdfront.c
- drivers/net/xen-netfront.c 3 additions, 3 deletionsdrivers/net/xen-netfront.c
- drivers/video/xen-fbfront.c 2 additions, 2 deletionsdrivers/video/xen-fbfront.c
- drivers/xen/balloon.c 1 addition, 1 deletiondrivers/xen/balloon.c
- drivers/xen/grant-table.c 1 addition, 1 deletiondrivers/xen/grant-table.c
- drivers/xen/xenbus/xenbus_probe.c 4 additions, 4 deletionsdrivers/xen/xenbus/xenbus_probe.c
- include/asm-x86/xen/hypervisor.h 12 additions, 2 deletionsinclude/asm-x86/xen/hypervisor.h
Loading
Please register or sign in to comment