[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RESEND PATCH v5 2/3] qga: Add guest-get-fsinfo command
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [RESEND PATCH v5 2/3] qga: Add guest-get-fsinfo command |
Date: |
Thu, 07 Aug 2014 16:05:47 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.7.0 |
On 06/30/2014 03:51 PM, Tomoki Sekiyama wrote:
> Add command to get mounted filesystems information in the guest.
> The returned value contains a list of mountpoint paths and
> corresponding disks info such as disk bus type, drive address,
> and the disk controllers' PCI addresses, so that management layer
> such as libvirt can resolve the disk backends.
>
> In Linux guest, the disk information is resolved from sysfs. So far,
> it only supports virtio-blk, virtio-scsi, IDE, SATA, SCSI disks on x86
> hosts, and "disk" parameter may be empty for unsupported disk types.
>
> Signed-off-by: Tomoki Sekiyama <address@hidden>
> ---
> qga/commands-posix.c | 438
> ++++++++++++++++++++++++++++++++++++++++++++++++++
> qga/commands-win32.c | 6 +
> qga/qapi-schema.json | 79 +++++++++
> 3 files changed, 522 insertions(+), 1 deletion(-)
>
> +##
> +# @GuestDiskBusType
> +#
> +# An enumeration of bus type of disks
> +#
> +# @ide: IDE disks
> +# @fdc: floppy disks
> +# @scsi: SCSI disks
> +# @virtio: virtio disks
> +# @xen: Xen disks
> +# @usb: USB disks
> +# @uml: UML disks
> +# @sata: SATA disks
> +# @sd: SD cards
> +#
> +# Since: 2.1
Another change to 2.2.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Qemu-devel] [RESEND PATCH v5 2/3] qga: Add guest-get-fsinfo command,
Eric Blake <=