Update README.md

This commit is contained in:
Akkariin Meiko 2018-09-28 04:18:54 +08:00 committed by GitHub
parent c1a703fa87
commit e19ab758a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,7 +38,7 @@ $Libvirt->start("Test");
String createDisk ( Name, Format, Size )
```
#### create a Virtual Machine xml config file
The method of createVMXML have 13 args.
The method of createVMXML have 13 params.
```php
void createVMXL ( Name, vCPU, Ram, Disk, ISO, Boot Device, Network type, Network name, MAC Address, Network bridge, Bandwidth in, Bandwidth out, VNC Port )
```
@ -59,7 +59,7 @@ String start ( Name )
String shutdown ( Name )
```
#### Force stop the virtual machine
if your virtual machine in trouble and can't use shutdown to make if off, you can use this method to force stop it.
if your virtual machine is in trouble and can't use shutdown to make if off, you can use this method to force stop it.
```php
String destroy ( Name )
```