diff options
author | Tudor Florea <tudor.florea@enea.com> | 2015-10-08 22:22:28 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2015-10-08 22:22:28 +0200 |
commit | 31ce2d1a14de6d8439829dc8a046aeaeef734461 (patch) | |
tree | caf52884a4410ef7d579f4eb63cf0a7a6001c413 /recipes-example/virt-example/files/example-guest-ppc.xml | |
download | meta-vt-31ce2d1a14de6d8439829dc8a046aeaeef734461.tar.gz |
initial commit for Enea Linux 5.0 arm
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'recipes-example/virt-example/files/example-guest-ppc.xml')
-rw-r--r-- | recipes-example/virt-example/files/example-guest-ppc.xml | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/recipes-example/virt-example/files/example-guest-ppc.xml b/recipes-example/virt-example/files/example-guest-ppc.xml new file mode 100644 index 0000000..624bb56 --- /dev/null +++ b/recipes-example/virt-example/files/example-guest-ppc.xml | |||
@@ -0,0 +1,55 @@ | |||
1 | <!-- | ||
2 | Copyright (c) 2014 by Enea Software AB | ||
3 | All rights reserved. | ||
4 | |||
5 | Redistribution and use in source and binary forms, with or without | ||
6 | modification, are permitted provided that the following conditions are met: | ||
7 | * Redistributions of source code must retain the above copyright | ||
8 | notice, this list of conditions and the following disclaimer. | ||
9 | * Redistributions in binary form must reproduce the above copyright | ||
10 | notice, this list of conditions and the following disclaimer in the | ||
11 | documentation and/or other materials provided with the distribution. | ||
12 | * Neither the name of Enea Software AB nor the | ||
13 | names of its contributors may be used to endorse or promote products | ||
14 | derived from this software without specific prior written permission. | ||
15 | |||
16 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND | ||
17 | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | ||
18 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
19 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR | ||
20 | ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | ||
21 | (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
22 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | ||
23 | ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
24 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | ||
25 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
26 | --> | ||
27 | |||
28 | <domain type='kvm'> | ||
29 | <name>kvm-example-guest</name> | ||
30 | <memory unit='MiB'>500</memory> | ||
31 | <vcpu>1</vcpu> | ||
32 | <os> | ||
33 | <type arch='ppc' machine="ppce500">hvm</type> | ||
34 | <kernel>/usr/share/virt-example/ppc-uImage.bin</kernel> | ||
35 | <ramdisk>/usr/share/virt-example/ppc-ramdisk.cpio.gz</ramdisk> | ||
36 | <cmdline>console=ttyS0</cmdline> | ||
37 | </os> | ||
38 | <on_poweroff>destroy</on_poweroff> | ||
39 | <on_reboot>restart</on_reboot> | ||
40 | <on_crash>destroy</on_crash> | ||
41 | <features> | ||
42 | <acpi /> | ||
43 | </features> | ||
44 | <clock offset='utc'/> | ||
45 | <devices> | ||
46 | <emulator>/usr/bin/qemu-system-ppc</emulator> | ||
47 | <serial type='pty'> | ||
48 | <target port='0'/> | ||
49 | </serial> | ||
50 | <console type='pty' > | ||
51 | <target type='serial' port='0'/> | ||
52 | </console> | ||
53 | <memballoon model='virtio' /> | ||
54 | </devices> | ||
55 | </domain> | ||