Re: [PATCH] qemu: Don't require a block or file when looking for an alias.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 04/05/2013 09:36 AM, Wido den Hollander wrote:
> From: root <root@kvm01.(none)>

Please resend, after properly configuring your git.

> 
> This for example prohibits you to use iotune for Ceph or Sheepdog devices.
> 
> Signed-off-by: Wido den Hollander <wido@xxxxxxxxx>
> ---
>  src/qemu/qemu_driver.c |    4 ----
>  1 file changed, 4 deletions(-)
> 
> diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c
> index 552a81b..464d30a 100644
> --- a/src/qemu/qemu_driver.c
> +++ b/src/qemu/qemu_driver.c
> @@ -13032,10 +13032,6 @@ qemuDiskPathToAlias(virDomainObjPtr vm, const char *path, int *idx)
>      if (idx)
>          *idx = i;
>  
> -    if (disk->type != VIR_DOMAIN_DISK_TYPE_BLOCK &&
> -        disk->type != VIR_DOMAIN_DISK_TYPE_FILE)
> -        goto cleanup;
> -
>      if (disk->src) {
>          if (virAsprintf(&ret, "drive-%s", disk->info.alias) < 0) {
>              virReportOOMError();
> 

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]