aboutsummaryrefslogtreecommitdiffstats
path: root/tools/examples/xmexample1
Commit message (Collapse)AuthorAgeFilesLines
* tools: Remove the vtpm process modelMatthew Fioravante2012-11-131-14/+0
| | | | | | | | | Remove the old vtpm process model. It doesn't work very well and is no longer supported. Signed-off-by: Matthew Fioravante <matthew.fioravante@jhuapl.edu> Acked-by: Ian Campbell <ian.campbell@citrix.com> Committed-by: Ian Campbell <ian.campbell@citrix.com>
* xend: allow VM configuration with both sdl=1 and vnc=1Keir Fraser2009-03-061-6/+6
| | | | | | | | | | | | | | | | | In the stubdom case you can now specify sdl=1 and vnc=1 (again, both can be selected at the same time) in the vfb configuration. So instead of: vfb = [ 'type=vnc' ] now you have: vfb = [ 'vnc=1,sdl=1' ] the former configuration option is deprecated but still supported for backward compatibility. Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
* pvSCSI: xend changesKeir Fraser2008-07-031-0/+23
| | | | | Signed-off-by: Tomonari Horikoshi <t.horikoshi@jp.fujitsu.com> Signed-off-by: Jun Kamada <kama@jp.fujitsu.com>
* Fix xmexamples to reflect new meaning of cpus= config option.Keir Fraser2008-05-121-1/+2
| | | | Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
* Fixed typos in xmexamples.Keir Fraser2008-05-081-1/+1
| | | | Signed-off-by: Hiroya INAKOSHI <inakoshi.hiroya@jp.fujitsu.com>
* Add 'coredump-destroy' and 'coredump-restart' actions for crashed domains.Keir Fraser2008-02-071-0/+5
| | | | | | | | Xen-API already specifies these actions for the 'on_crash' domain exit event. This patch makes them available for use in traditional domU config files and through the xm tool as well. Signed-off-by: Jim Fehlig <jfehlig@novell.com>
* tools/docs: Fix example and default IP addresses.Keir Fraser2008-01-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In various places in documentation and code, IP addresses are provided as examples, defaults, or dummy configuration. In general the specific IP addresses used in Xen are not always appropriate. (For example, 1.2.3.4 is used in a few places!) The following addresses should be used: * For examples and documentation, 192.0.2.0/24. (See RFC3330.) * For defaults for private networks, a random network from RFC1918. I have randomly selected 172.30.206.0/24 for this purpose and documented this in at the only registry I know of, www.ucam.org/cam-grin. This network should henceforth be used for default configurations of local bridges, test networks, etc. in Xen tools. The following addresses should NOT be used: * 10.0.*.*, 10.1.*.*, 192.168.0.*, 192.168.1.*, etc. Using these addresses gives greatly increased likelihood of collision, as ignorant network administrators and reckless middlebox vendors often pick networks from the bottom of 10/8 and 192.168/16. * 169.254.*.*. These are reserved for zeroconf (ad-hoc networking) and should not be used for Xen private networks, bridges, etc., etc. Use of these addresses by Xen scripts causes trouble on hosts (eg laptops) which find themselves in ad-hoc networking environments. I think this is not hypothetical (!) since at least one Linux distribution have specific code to detect this case and cause Xen startup to fail iff the host already has an external zeroconf address. * 1.2.3.4. WTF !? I have also used 127.0.255.255 in one place where apparently a dummy address is needed (some Linux kernels won't accept a lack of an NFS server address). If 127.0.255.255 is mistakenly used it is unlikely to do any damage to real traffic even if it does escape into the network at large. Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
* Add vfb config examples.kfraser@localhost.localdomain2007-01-121-0/+34
| | | | | From: Markus Armbruster <armbru@redhat.com> Signed-off-by: Keir Fraser <keir@xensource.com>
* Document the UUID domU configuration parameter in example configurations.kaf24@firebug.cl.cam.ac.uk2006-05-161-0/+4
| | | | | Signed-off-by: Andrew D. Ball <aball@us.ibm.com>
* Add small memory warning message to domain configuration examples.stekloff@dyn9047022152.beaverton.ibm.com2006-04-191-0/+4
| | | | | | Signed-off-by: Daniel Stekloff <dsteklof@us.ibm.com>
* Deprecate the nics option from the xm create configuration. Instead, we use theemellor@leeni.uk.xensource.com2005-12-131-5/+13
| | | | | | | | | | | | | | | | | | | | entries in vif to guide the configuration. This is much less confusing. Closes bug #440. Change the example configuration files to match. Also change them to use the XenSource OUI in the MAC addresses. Also change xm-test to match. Remove the obsolete ipaddr configuration entry, and the backend_mac vif config option. Remove the preprocess_vifs function, folding it into the configure_vifs function, and creating a simple comma_sep_kv_to_dict helper. Remove the configure_vfr method, as it is unused. Signed-off-by: Ewan Mellor <ewan@xensource.com>
* This patch adds a new domain config option, 'cpus' which is a list ofemellor@leeni.uk.xensource.com2005-12-021-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | CPUs a domains' vcpus can use. The older 'cpu' config option is prepended to the list of cpus to use and will keep the behavior of pinning VCPU0. The cpus option supports ranges and negation, so: cpus = "0-3,5,^1" produces -> [0,2,3,5] The list is circular, so in a domain with the following config: vcpus = 4 cpus = "0,3,7" # Use any of 0, 3, 7 for this domain. would see vcpus 0-3 pinned to cpus 0,3,7,0 respectively. Also, the pin operation is moved before the memory reservation as vcpu to cpu mapping will be helpful for future NUMA work when trying to allocate pages close to the physical cpus being used. An update to the display of cpumap was needed to normalize the cpumap values to the range of possible cpus. I've also included some text for the xmdomain.cfg(5) man page. Signed-off-by: Ryan Harper <ryanh@us.ibm.com>
* New network-bridge script and associated gubbins.emellor@leeni.uk.xensource.com2005-10-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is Kurt Garloff's reworked network-bridge script: * we got rid of ifconfig * it works for netdev != eth0 * arp on and off are symmetric as are ifdown and ifup * ifup will be passed the ifcfg config file name if needed (the ifup may otherwise figure that the veth0 hardware is NOT the same as the original ${netdev} and not use the same config -- this happens on SUSE. Charles Coffing tracked this one down.) Plus Kurt's avoid-dash patch: the network setup scripts on SUSE have trouble with the bridge name xen-br0; they don't expect the '-'. Arguably this should be fixed. But I assume there's more scripts out there which may not like it, so I suggest the following patch to rename xen-br0 to xenbr0. Plus Charles Duffy's patch to support multiple bridges: The attached patch allows the network-bridge script to be used to generate multiple bridges corresponding to different physical interfaces. It adds a new parameter, "vifnum", used to refer both to the loopback interface to be used and to set defaults regarding the physical interface and bridge name. Thus, if one wishes to start xenbr0 on eth0 and xenbr1 on eth1, one need only call: network-bridge start ## vifnum is 0 by default network-bridge start vifnum=1 ...well, that and set loopback.nloopbacks=2 in the Dom0 kernel parameters. Plus renaming of virtnum to vifnum in Charles' patch, as requested by Ian Pratt. Plus a fix to DevController to allocate vif IDs starting from 0 (i.e. vif2.0 is now domain 2's first vif, as opposed to vif2.1 in the recent past). Plus tidying up inside network-bridge using some helper variables. Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Add the config file parsing for the on_{poweroff,reboot,crash} options, so thatemellor@ewan2005-09-301-4/+9
| | | | | | | | | | | | they actually take effect. Added behaviour "rename-restart" for debugging purposes, that renames the domain out of the way, preserving it for debugging, but starts a new domain too. Add explicit remove of old domain paths when creating a new domain, to avoid stale information affecting us (by shutting the domain down, for example). Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Change rebooting specification so that we can have domains crash and stayemellor@ewan2005-09-301-6/+30
| | | | | | | | | around to be debugged, for example. Fix problem in XendDomainInfo.eventChannel caused by a mis-merge. Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Provide xend support for setting up TPM front- and back-end interfaces.shand@ubuntu.eng.hq.xensource.com2005-08-301-0/+14
| | | | | | Signed-off-by: Steven Hand <steven@xensource.com> Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
* bitkeeper revision 1.1236.1.56 (4227b2b4dQ6XlQ1LnHLnW5ENc2B7LA)cl349@firebug.cl.cam.ac.uk2005-03-041-2/+2
|\ | | | | | | | | | | Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk into firebug.cl.cam.ac.uk:/local/scratch/cl349/xen-unstable.bk
| * bitkeeper revision 1.1159.258.21 (4227b272juDzo6xMj-KE4nB4e0xsmA)cl349@firebug.cl.cam.ac.uk2005-03-041-2/+2
| | | | | | | | | | | | xmexample updates. Signed-off-by: chris@xensource.com
* | bitkeeper revision 1.1159.222.1 (41ebdd9btvi-aV_bkwfCgKSenC9XbQ)cl349@arcadians.cl.cam.ac.uk2005-01-171-0/+3
|/ | | | | | | | | | | | | Add an optional parameter (vcpus) to the xc_linux_build function replacing the getenv() previously used and removing the requirement of using maxcpus kernel parameter to limit the number of virtual cpus a guest uses. The value can now be controlled in the domain configuration files. The default value of 1 is set in XenDomainInfo.py but is overridden by parsing the config value. Signed-off-by: Ryan Harper <ryanh@us.ibm.com>
* bitkeeper revision 1.1159.1.329 (4186e250v4q4bACc3tLT1SAh95SQxw)mwilli2@equilibrium.research2004-11-021-1/+1
| | | | | | | | A coven of new wizards for Xensv (please test). Some of this might need refactoring but it should make the web interface more useful. also: misc version updates, some extra docs stuff.
* bitkeeper revision 1.1159.119.1 (4177abc92lxQ-lnk0VCS5xNc95Aq7g)cl349@freefall.cl.cam.ac.uk2004-10-211-1/+0
| | | | | Undocument ``builder'' config option.
* bitkeeper revision 1.1159.110.2 (416dcd02MO6G0PtKnA4XILutLWJVOA)maw48@labyrinth.cl.cam.ac.uk2004-10-141-3/+3
| | | | | Update kernel versions and *kill* xda :-)
* bitkeeper revision 1.1159.45.4 (41251046RHh_YorMh-pBd-MxpifMww)iap10@labyrinth.cl.cam.ac.uk2004-08-191-0/+85
rename the example config files.