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 <tomoki.sekiy...@hds.com> > --- > 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