The Xm Command - Novell SUSE LINUX ENTERPRISE DESKTOP 11 SP1 - 8-18-2010 VIRTUALIZATION WITH ZEN Manual

Virtualization with xen
Table of Contents

Advertisement

2 Use a text editor to make and save any desired changes.
3 Delete the existing configuration from Xend with the command xm del
4 Enter xm new -F filename to import the virtual machine's new settings
5 Enter xm start vm_name to start the virtual machine with its new settings.

5.4 The xm Command

The xm command provides a command line interface for managing virtual machines.
It can be used to create, pause, and shut down virtual machines. It can also be used to
list the current domains, enable or pin virtual CPUs, and attach or detach block devices.
38
Virtualization with Xen
where vm_name is the name of the virtual machine you want to modify and
filename is whatever you want to name the text file.
(domain
(domid 1)
(bootloader /usr/bin/pygrub)
(on_crash destroy)
(uuid aa6969f3-8012-24f0-1e3a-35f150001950)
(bootloader_args -q)
(vcpus 2)
(name sles11)
(cpus (() ()))
(on_reboot restart)
(on_poweroff destroy)
(maxmem 512)
(memory 512)
(shadow_memory 0)
(features )
(on_xend_start ignore)
(on_xend_stop ignore)
(start_time 1240210933.16)
(cpu_time 35.841108115)
(online_vcpus 2)
....
vm_name
into Xend.
You should repeat the entire process of exporting the file each time you want to
make changes to a virtual machine's settings.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Suse linux enterprise desktop 11 sp1

Table of Contents