kvm.start

kvm.start

Start a KVM virtual machine.

JSON-RPC Request

{"jsonrpc": "2.0","id": 1,"method": "kvm.start","params": {"hostname": "kvm1"}}

Request Parameters

ArgumentTypeDescriptionRequired
hostnameStringThe name of the virtual machine.Yes

JSON-RPC Response

{
    "jsonrpc": "2.0",
    "id": 1,
    "result": "Starting kvm1..."
}

RVC CLI Example

rvc kvm start --hostname kvm1

Response

Starting kvm1... 
checking status 30... 
kvm1 successfully started.

Output for a cluster managed virtual machine:

Starting kvm1...
checking status 30...
kvm1 successfully started.
Waiting for the refresh of all cluster VM resources statuses.
Maintenance mode set to disabled.