uuid ( RO) : d7596836-675e-6e79-f927-7b852a691785
name-label ( RW): centos-5.0-x86_64-build-A
name-description ( RW):
user-version ( RW): 1
is-a-template ( RW): false
is-a-snapshot ( RO): false
snapshot-of ( RO): <not in database>
snapshots ( RO):
snapshot-time ( RO): 19700101T00:00:00Z
snapshot-info ( RO):
parent ( RO): <not in database>
children ( RO):
is-control-domain ( RO): false
power-state ( RO): halted
memory-actual ( RO): 0
memory-target ( RO): <expensive field>
memory-overhead ( RO): 1048576
memory-static-max ( RW): 536870912
memory-dynamic-max ( RW): 536870912
memory-dynamic-min ( RW): 536870912
memory-static-min ( RW): 16777216
suspend-VDI-uuid ( RO): <not in database>
VCPUs-params (MRW):
VCPUs-max ( RW): 1
VCPUs-at-startup ( RW): 1
actions-after-shutdown ( RW): Destroy
actions-after-reboot ( RW): Restart
actions-after-crash ( RW): Restart
console-uuids (SRO):
platform (MRW): nx: false; acpi: true; apic: true; pae: true; viridian: true
allowed-operations (SRO): changing_dynamic_range; changing_static_range; make_into_template; destroy; export; start_on; start; clone; copy; snapshot
current-operations (SRO):
blocked-operations (MRW):
allowed-VBD-devices (SRO): <expensive field>
allowed-VIF-devices (SRO): <expensive field>
possible-hosts ( RO): <expensive field>
HVM-boot-policy ( RW):
HVM-boot-params (MRW): order: dc
HVM-shadow-multiplier ( RW): 1.000
PV-kernel ( RW): /boot/guest/80edf9c0-f0c3-11df-afb8-002185fade1c/vmlinuz
PV-ramdisk ( RW): /boot/guest/80edf9c0-f0c3-11df-afb8-002185fade1c/initrd
PV-args ( RW): root=/dev/sda1 ro selinux=0 3
PV-legacy-args ( RW):
PV-bootloader ( RW): pygrub
PV-bootloader-args ( RW):
last-boot-CPU-flags ( RO):
last-boot-record ( RO): <expensive field>
resident-on ( RO): <not in database>
affinity ( RW): <not in database>
other-config (MRW): import_task: OpaqueRef:733508e8-adaf-748a-eb5d-5748cd8092bc; mac_seed: 396e5d3f-afee-4b58-f053-c94db4e2e0af; install-methods: cdrom
dom-id ( RO): -1
recommendations ( RO): <restrictions><restriction field="memory-static-max" max="34359738368" /><restriction field="vcpus-max" max="8" /><restriction property="number-of-vbds" max="7" /><restriction property="number-of-vifs" max="7" /></restrictions>
xenstore-data (MRW):
ha-always-run ( RW): false
ha-restart-priority ( RW):
blobs ( RO):
start-time ( RO): 19700101T00:00:00Z
install-time ( RO): 19700101T00:00:00Z
VCPUs-number ( RO): 0
VCPUs-utilisation (MRO): <expensive field>
os-version (MRO): <not in database>
PV-drivers-version (MRO): <not in database>
PV-drivers-up-to-date ( RO): <not in database>
memory (MRO): <not in database>
disks (MRO): <not in database>
networks (MRO): <not in database>
other (MRO): <not in database>
live ( RO): <not in database>
guest-metrics-last-updated ( RO): <not in database>
cooperative ( RO): <expensive field>
[root@box ~]#
On Tue, Nov 16, 2010 at 11:05 AM, David Markey
<admin@xxxxxxxxxxx> wrote:
Can I see a xe vm-list params=all uuid=<new vm uuid>On 16 November 2010 09:52, Peter den Hartog
<peterdenhartog@xxxxxxxxx> wrote:
It's ext3On Tue, Nov 16, 2010 at 10:44 AM, David Markey
<admin@xxxxxxxxxxx> wrote:
What filesystem is within the VM?
Hi, a small question..
I'm trying to convert a .img from a xen system to a xva for my XCP system.
I did the following ->
Somebody send me a local copy of the .img including all the needed files (kernel/config).
I eddited the xen.conf to point to the correct locations of my files it now looks like this:
kernel = "/home/peter/xcp-convert/centos-5.0-x86_64-build-A/kernel/boot/vmlinuz-2.6.18-xen"
ramdisk = "/home/peter/xcp-convert/centos-5.0-x86_64-build-A/kernel/boot/initrd-2.6-xen.img"
# Initial memory allocation (in megabytes) for the new domain.
#----------------------------------------------------------------------------
# Define the disk devices you want the domain to have access to, and
# what you want them accessible as.
# Each disk entry is of the form phy:UNAME,DEV,MODE
# where UNAME is the device, DEV is the device name the domain will see,
# and MODE is r for read-only, w for read-write.
disk = [ 'file:/home/peter/xcp-convert/2.1-centos-5.0-x86_64-build-A/disks/disk.img,sda1,w','file:/home/peter/xcp-convert/centos-5.0-x86_64-build-A/disks/swap.img,sda2,w' ]
# A name for your domain. All domains must have different names.
name = "centos-5.0-x86_64-build-A"
# Number of network interfaces. Default is 1.
Then i runned the script, at it seemed to work:
~/Scripts/xcp-xva-convert/xva.py --config=xen.cfg --filename=converted.xva
After a installation, and a succesfull import (+ copy like the echo told me to) i'm not able to start it:
[root@box 80edf9c0-f0c3-11df-afb8-002185fade1c]# xe vm-start vm=centos-5.0-x86_64-build-A
Error code: WARNING: /dev/xvda is not a disk image
Error parameters: Traceback (most recent call last):, File "/usr/bin/pygrub", line 746, in ?, raise RuntimeError, "Unable to find partition containing kernel", RuntimeError: Unable to find partition containing kernel,
[root@box 80edf9c0-f0c3-11df-afb8-002185fade1c]#
I asked this on the normal mailing list but they pointed me to this direction.
Hope you can help me, thanks,
Peter
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel