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

Re: [libvirt] [PATCH] Fix generation of floppy disk arg for QEMU's -global arg



On Wed, Feb 10, 2010 at 09:45:42AM +0000, Daniel P. Berrange wrote:
> * src/qemu/qemu_conf.c: Fix ',' vs '.' typo in floppy disk arg
> ---
>  src/qemu/qemu_conf.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/src/qemu/qemu_conf.c b/src/qemu/qemu_conf.c
> index fb06cd0..beb4386 100644
> --- a/src/qemu/qemu_conf.c
> +++ b/src/qemu/qemu_conf.c
> @@ -3521,7 +3521,7 @@ int qemudBuildCommandLine(virConnectPtr conn,
>                      char *fdc;
>                      ADD_ARG_LIT("-global");
>  
> -                    if (virAsprintf(&fdc, "isa-fdc,drive%c=drive-%s",
> +                    if (virAsprintf(&fdc, "isa-fdc.drive%c=drive-%s",
>                                      disk->info.addr.drive.unit ? 'B' : 'A',
>                                      disk->info.alias) < 0)
>                          goto no_memory;

  ACK

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel veillard com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/


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