Re: [RFC v2 00/20] qmp: Report bus information on 'query-machines'

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

 



On Fri, Nov 25, 2016 at 08:05:36PM -0200, Eduardo Habkost wrote:
[...]
> Example output
> --------------
> 
> TODO: update it.


I've forgot to update it. Here it is:

  {
    "return": [
        {
            "cpu-max": 1, 
            "hotpluggable-cpus": false, 
            "name": "none"
        },
        [...]
        {
            "cpu-max": 1, 
            "hotpluggable-cpus": false, 
            "name": "xenpv"
        },
        [...]
        {
            "name": "pc-i440fx-2.8", 
            "always-available-buses": [
                {
                    "bus-id": "ide.1", 
                    "bus-type": "IDE", 
                    "accepted-device-types": [
                        "ide-device"
                    ]
                }, 
                {
                    "bus-id": "ide.0", 
                    "bus-type": "IDE", 
                    "accepted-device-types": [
                        "ide-device"
                    ]
                }, 
                {
                    "bus-id": "isa.0", 
                    "bus-type": "ISA", 
                    "accepted-device-types": [
                        "isa-device"
                    ]
                }, 
                {
                    "bus-id": "i2c", 
                    "bus-type": "i2c-bus", 
                    "accepted-device-types": [
                        "i2c-slave"
                    ]
                }, 
                {
                    "bus-id": "floppy-bus.0", 
                    "bus-type": "floppy-bus", 
                    "accepted-device-types": [
                        "floppy"
                    ]
                }, 
                {
                    "bus-id": "pci.0", 
                    "bus-type": "PCI", 
                    "accepted-device-types": [
                        "legacy-pci-device"
                    ]
                }, 
                {
                    "bus-id": "sysbus", 
                    "bus-type": "System", 
                    "accepted-device-types": [
                        "sys-bus-device"
                    ]
                }
            ], 
            "alias": "pc", 
            "is-default": true, 
            "cpu-max": 255, 
            "hotpluggable-cpus": true
        },
        [...]
        {
            "cpu-max": 1, 
            "hotpluggable-cpus": true, 
            "always-available-buses": [
                {
                    "bus-id": "ide.1", 
                    "bus-type": "IDE", 
                    "accepted-device-types": [
                        "ide-device"
                    ]
                }, 
                {
                    "bus-id": "ide.0", 
                    "bus-type": "IDE", 
                    "accepted-device-types": [
                        "ide-device"
                    ]
                }, 
                {
                    "bus-id": "isa.0", 
                    "bus-type": "ISA", 
                    "accepted-device-types": [
                        "isa-device"
                    ]
                }, 
                {
                    "bus-id": "floppy-bus.0", 
                    "bus-type": "floppy-bus", 
                    "accepted-device-types": [
                        "floppy"
                    ]
                }, 
                {
                    "bus-id": "sysbus", 
                    "bus-type": "System", 
                    "accepted-device-types": [
                        "sys-bus-device"
                    ]
                }
            ], 
            "name": "isapc"
        },
        [...]
        {
            "cpu-max": 128, 
            "hotpluggable-cpus": true, 
            "always-available-buses": [
                {
                    "bus-id": "ide.1", 
                    "bus-type": "IDE", 
                    "accepted-device-types": [
                        "ide-device"
                    ]
                }, 
                {
                    "bus-id": "ide.0", 
                    "bus-type": "IDE", 
                    "accepted-device-types": [
                        "ide-device"
                    ]
                }, 
                {
                    "bus-id": "isa.0", 
                    "bus-type": "ISA", 
                    "accepted-device-types": [
                        "isa-device"
                    ]
                }, 
                {
                    "bus-id": "pci.0", 
                    "bus-type": "PCI", 
                    "accepted-device-types": [
                        "legacy-pci-device"
                    ]
                }, 
                {
                    "bus-id": "i2c", 
                    "bus-type": "i2c-bus", 
                    "accepted-device-types": [
                        "i2c-slave"
                    ]
                }, 
                {
                    "bus-id": "floppy-bus.0", 
                    "bus-type": "floppy-bus", 
                    "accepted-device-types": [
                        "floppy"
                    ]
                }, 
                {
                    "bus-id": "sysbus", 
                    "bus-type": "System", 
                    "accepted-device-types": [
                        "sys-bus-device"
                    ]
                }
            ], 
            "name": "xenfv"
        },
        [...]
        {
            "alias": "q35", 
            "cpu-max": 288, 
            "hotpluggable-cpus": true, 
            "always-available-buses": [
                {
                    "bus-id": "ide.5", 
                    "bus-type": "IDE", 
                    "accepted-device-types": [
                        "ide-device"
                    ]
                }, 
                {
                    "bus-id": "ide.4", 
                    "bus-type": "IDE", 
                    "accepted-device-types": [
                        "ide-device"
                    ]
                }, 
                {
                    "bus-id": "ide.3", 
                    "bus-type": "IDE", 
                    "accepted-device-types": [
                        "ide-device"
                    ]
                }, 
                {
                    "bus-id": "ide.2", 
                    "bus-type": "IDE", 
                    "accepted-device-types": [
                        "ide-device"
                    ]
                }, 
                {
                    "bus-id": "ide.1", 
                    "bus-type": "IDE", 
                    "accepted-device-types": [
                        "ide-device"
                    ]
                }, 
                {
                    "bus-id": "ide.0", 
                    "bus-type": "IDE", 
                    "accepted-device-types": [
                        "ide-device"
                    ]
                }, 
                {
                    "bus-id": "isa.0", 
                    "bus-type": "ISA", 
                    "accepted-device-types": [
                        "isa-device"
                    ]
                }, 
                {
                    "bus-id": "i2c", 
                    "bus-type": "i2c-bus", 
                    "accepted-device-types": [
                        "i2c-slave"
                    ]
                }, 
                {
                    "bus-id": "pcie.0", 
                    "bus-type": "PCIE", 
                    "accepted-device-types": [
                        "legacy-pci-device", 
                        "pci-express-device"
                    ]
                }, 
                {
                    "bus-id": "sysbus", 
                    "bus-type": "System", 
                    "accepted-device-types": [
                        "sys-bus-device"
                    ]
                }
            ], 
            "name": "pc-q35-2.8"
        },
    ]
  }

-- 
Eduardo

--
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]
  Powered by Linux