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] Re: [PATCH 2/3] xen-blkfront: Fix one off warning about name

To: Stefan Bader <stefan.bader@xxxxxxxxxxxxx>
Subject: [Xen-devel] Re: [PATCH 2/3] xen-blkfront: Fix one off warning about name clash
From: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Date: Thu, 14 Jul 2011 18:33:27 +0100
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Stabellini <Stefano.Stabellini@xxxxxxxxxxxxx>, Stefano
Delivery-date: Thu, 14 Jul 2011 10:30:00 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1310650237-7330-1-git-send-email-stefan.bader@xxxxxxxxxxxxx>
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>
References: <4E1EEEA1.9050102@xxxxxxxxxxxxx> <1310650237-7330-1-git-send-email-stefan.bader@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Alpine 2.00 (DEB 1167 2008-08-23)
On Thu, 14 Jul 2011, Stefan Bader wrote:
> Avoid telling users to use xvde and onwards when using xvde.

Also fine by me.


> Signed-off-by: Stefan Bader <stefan.bader@xxxxxxxxxxxxx>
> ---
>  drivers/block/xen-blkfront.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/block/xen-blkfront.c b/drivers/block/xen-blkfront.c
> index a41530f..6e46edb 100644
> --- a/drivers/block/xen-blkfront.c
> +++ b/drivers/block/xen-blkfront.c
> @@ -532,7 +532,7 @@ static int xlvbd_alloc_gendisk(blkif_sector_t capacity,
>               minor = BLKIF_MINOR_EXT(info->vdevice);
>               nr_parts = PARTS_PER_EXT_DISK;
>               offset = minor / nr_parts;
> -             if (xen_hvm_domain() && offset <= EMULATED_HD_DISK_NAME_OFFSET 
> + 4)
> +             if (xen_hvm_domain() && offset < EMULATED_HD_DISK_NAME_OFFSET + 
> 4)
>                       printk(KERN_WARNING "blkfront: vdevice 0x%x might 
> conflict with "
>                                       "emulated IDE disks,\n\t choose an xvd 
> device name"
>                                       "from xvde on\n", info->vdevice);
> -- 
> 1.7.4.1
> 

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>