You can modify a virtual machine’s settings by modifying its xend configuration information. A virtual machine’s configuration information is stored in the xend database and can be exported to a file, modified to meet your specific virtualization requirements, and then re-imported back into the xend database.
In a terminal on the management virtual machine desktop, enter xm list -l name > filename to export a virtual machine’s settings from xend to a file.
name is the virtual machine name
filename is the name you specify as the filename
Use a text editor to make and save any desired changes.
Figure 4-7 Editing a Virtual Machine’s Configuration File
At the command line, enter xm new -F filename to import the new settings into the xend database.
Enter xm start vm_name to start the virtual machine with the new settings.
NOTE:It is no longer recommended that you edit the initial creation files stored in etc/xen/vm, which are used only during the creation of a new virtual machine.