|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] Re: [PATCH 2/3] xen-blkfront: Fix one off warning about name
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>
|
- Re: [Xen-devel] Re: Question on "xen-blkfront: handle Xen major numbers other than XENVBD", (continued)
- [Xen-devel] [PATCH 2/3] xen-blkfront: Fix one off warning about name clash, Stefan Bader
- [Xen-devel] Re: [PATCH 2/3] xen-blkfront: Fix one off warning about name clash,
Stefano Stabellini <=
- [Xen-devel] [PATCH 3/3] xen-blkfront: Fix minor offset calculation for emulated IDE disks, Stefan Bader
- [Xen-devel] Re: [PATCH 3/3] xen-blkfront: Fix minor offset calculation for emulated IDE disks, Stefano Stabellini
- [Xen-devel] Re: [PATCH 3/3] xen-blkfront: Fix minor offset calculation for emulated IDE disks, Stefan Bader
- [Xen-devel] Re: [PATCH 3/3] xen-blkfront: Fix minor offset calculation for emulated IDE disks, Stefano Stabellini
- [Xen-devel] Re: [PATCH 3/3] xen-blkfront: Fix minor offset calculation for emulated IDE disks, Stefan Bader
- Re: [Xen-devel] [PATCH 3/3] xen-blkfront: Fix minor offset calculation for emulated IDE disks, Konrad Rzeszutek Wilk
- [Xen-devel] Problem with Xen 4.1 on Ubuntu 11.10 ( Oneiric Ocelot) (HVM DomUs crash), Boris Derzhavets
- Re: [Xen-devel] Problem with Xen 4.1 on Ubuntu 11.10 ( Oneiric Ocelot) (HVM DomUs crash), Konrad Rzeszutek Wilk
- Re: [Xen-devel] Problem with Xen 4.1 on Ubuntu 11.10 ( Oneiric Ocelot) (HVM DomUs crash), Boris Derzhavets
- [Xen-devel] Re: Problem with Xen 4.1 on Ubuntu 11.10 ( Oneiric Ocelot) (HVM DomUs crash), Stefano Stabellini
|
|
|
|
|