Deprecate usage of IDE and SCSI frontend devices in paravirt guests
PATCH 1/1 Deprecate usage of IDE and SCSI frontend devices in paravirt guests
This patch deprecates the usage in IDE and SCSI front end devices in paravirt guests, through a warning. HVM is untouched.
Comments welcome,
Signed-off-by Glauber de Oliveira Costa <[email protected]>
Signature · 3 lines
Glauber de Oliveira Costa Red Hat Inc. "Free as in Freedom"
# HG changeset patch
# User [email protected]
# Date 1161955140 14400
# Node ID bea5de78c62533d3a0efd1c43f41e6ff56572743
# Parent 0c7923eb6b9846c92f1c15486e06ee9745bcf676 [LINUX] Deprecate usage of ide/scsi devices in paravirt guests
linux-2.6-xen-sparse/drivers/xen/blkfront/vbd.c +6 -0
@@ -109,10 +109,16 @@ xlbd_alloc_major_info(int major, int minswitch (index) {case XLBD_MAJOR_IDE_RANGE : +#ifdef CONFIG_XEN +WPRINTK ("Use of IDE block devices inside paravirt guests is deprecated\n" ); +#endif ptr->type = &xlbd_ide_type; ptr->index = index -XLBD_MAJOR_IDE_START ;break ;case XLBD_MAJOR_SCSI_RANGE : +#ifdef CONFIG_XEN +WPRINTK ("Use of SCSI block devices inside paravirt guests is deprecated\n" ); +#endif ptr->type = &xlbd_scsi_type; ptr->index = index -XLBD_MAJOR_SCSI_START ;break ;
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel