Re: [PATCH 3/8] Add a new 'virsh qemu-attach' command.

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

 



2011/7/4 Daniel P. Berrange <berrange@xxxxxxxxxx>:
> This command allows libvirt to attach to an existing QEMU
> instance.
>
>  $ qemu-kvm -cdrom ~/demo.iso \
>     -monitor unix:/tmp/demo,server,nowait \
>     -name foo \
>     -uuid cece4f9f-dff0-575d-0e8e-01fe380f12ea  &
>  $ QEMUPID=$!
>  $ virsh qemu-attach $QEMUPID
> ---
>  tools/virsh.c   |   47 +++++++++++++++++++++++++++++++++++++++++++++++
>  tools/virsh.pod |   26 +++++++++++++++++++++++++-
>  2 files changed, 72 insertions(+), 1 deletions(-)
>
> diff --git a/tools/virsh.c b/tools/virsh.c
> index 9a189fd..f7a1274 100644
> --- a/tools/virsh.c
> +++ b/tools/virsh.c
> @@ -11611,6 +11611,52 @@ cleanup:
>     return ret;
>  }
>
> +/*
> + * "qemu-attach" command
> + */
> +static const vshCmdInfo info_qemu_attach[] = {
> +    {"help", N_("Qemu Attach")},
> +    {"desc", N_("Qemu Attach")},

Below you replaced Qemu with QEMU, but here you use Qemu.

ACK.

-- 
Matthias Bolte
http://photron.blogspot.com

--
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]