Specifications

Note that the new count cannot exceed the amount you specified when you created the Virtual
Machine.
20. Configuring Memory Allocation
You can use virsh to modify a domain's memory allocation:
virsh setmem [domain-id | domain-name] [count]
You must specify the [count] in kilobytes. Note that the new count cannot exceed the amount
you specified when you created the Virtual Machine. Values lower than 64 MB probably won't
work. You can adjust the Virtual Machine memory as necessary.
21. Configuring Maximum Memory
You can use virsh to modify a Virtual Machine's maximum memory:
virsh setmaxmem [domain-name | domain-id | domain-uuid] [count]
You must specify the [count] in kilobytes. Note that the new count cannot exceed the amount
you specified when you created the Virtual Machine. Values lower than 64 MB probably won't
work. The maximum memory doesn't affect the current use of the Virtual Machine (unless the
new value is lower which should shrink memory usage).
22. Managing Virtual Networks
You can use virsh to manage virtual networks. To list virtual networks:
virsh net-list
This command generates output similar to:
[root@domain ~]# virsh net-list
Name State Autostart
-----------------------------------------
default active yes
vnet1 active yes
vnet2 active yes
To view network information for a specific virtual network:
Chapter 15. Managing Virtual Machines with virsh
34