kvm.list
List the available KVM virtual machines.
JSON-RPC Request
{"jsonrpc":"2.0","id":1,"method":"kvm.list"}
JSON-RPC Response
{
"jsonrpc": "2.0",
"id": 1,
"result": [
{
"id": "37",
"name": "kvm1",
"status": "running",
"cluster_managed": true
},
{
"id": "38",
"name": "kvm2",
"status": "running",
"cluster_managed": true
}
]
}
RVC CLI Example
rvc kvm list
Response
Id Name State In Cluster
-----------------------------------------------------------------
37 kvm1 running yes
38 kvm2 running yes