[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Converting vm from HVM to PV



Hi.

As said before I installed a system with Debian6, Xen4, Drbd8 and so on. I've a 
small cluster of two Xen server. 
I'm managing the VM using virt-manager and libvirt. I created an Ubuntu VM 
using this tool, installing from CD. 
Now I'd like to convert this VM to ParaVirt, but I'm having some troubles 
understanding how to edit the config file placed in /var/lib/xend/domains/ 
properly. Searches made so far leaded to no solution. 

Does anyone can point me to a solution/documentation about that?
Thanks!


P.S. the VM config.sxp is this:

(domain
    (domid 31)
    (vcpus_params ((cap 0) (weight 256)))
    (PV_args )
    (PV_bootloader )
    (cpus (()))
    (memory_sharing 0)
    (superpages 0)
    (VCPUs_live 1)
    (actions_after_crash restart)
    (uuid e5791118-e139-1f87-1aa1-98b010e3ba9b)
    (PV_ramdisk )
    (name_label fileserver)
    (VCPUs_at_startup 1)
    (HVM_boot_params ((order dc)))
    (platform
        ((tsc_mode 0)
            (timer_mode 1)
            (usb 1)
            (hpet 0)
            (device_model /usr/lib64/xen/bin/qemu-dm)
            (rtc_timeoffset 0)
            (nomigrate 0)
            (vpt_align 1)
            (boot dc)
            (parallel none)
            (xen_platform_pci 1)
            (pci ())
            (pae 1)
            (apic 1)
            (serial pty)
            (loader /usr/lib/xen-default/boot/hvmloader)
            (viridian 0)
            (acpi 1)
        )
    )
    (PV_kernel )
    (memory_static_min 0)
    (HVM_boot_policy 'BIOS order')
    (VCPUs_max 1)
    (memory_static_max 5368709120)
    (actions_after_shutdown destroy)
    (memory_dynamic_max 5368709120)
    (is_a_template False)
    (memory_dynamic_min 5368709120)
    (Description )
    (target 0)
    (PV_bootloader_args )
    (other_config ())
    (auto_power_on False)
    (actions_after_reboot restart)
    (on_crash restart)
    (uuid e5791118-e139-1f87-1aa1-98b010e3ba9b)
    (bootloader_args )
    (vcpus 1)
    (name fileserver)
    (on_poweroff destroy)
    (on_reboot restart)
    (cpus (()))
    (description )
    (bootloader )
    (maxmem 5120)
    (memory 5120)
    (shadow_memory 41)
    (vcpu_avail 1)
    (features )
    (on_xend_start ignore)
    (on_xend_stop ignore)
    (start_time 1308294038.58)
    (image
        (hvm
            (kernel )
            (superpages 0)
            (tsc_mode 0)
            (hpet 0)
            (boot dc)
            (loader /usr/lib/xen-default/boot/hvmloader)
            (serial pty)
            (vpt_align 1)
            (xen_platform_pci 1)
            (rtc_timeoffset 0)
            (parallel none)
            (pci ())
            (pae 1)
            (viridian 0)
            (acpi 1)
            (timer_mode 1)
            (apic 1)
            (nomigrate 0)
            (device_model /usr/lib64/xen/bin/qemu-dm)
            (usb 1)
            (notes (SUSPEND_CANCEL 1))
        )
    )
    (status 1)
    (state ------)
    (store_mfn '1044476')
    (device
        (vif
            (bridge br0)
            (mac 00:16:36:4a:81:f6)
            (script /etc/xen/scripts/vif-bridge)
            (uuid e2a0b4b7-9aba-dc13-f9f1-6b8630aea71c)
            (backend 0)
        )
    )
    (device
        (vbd
            (uuid 22a5c927-9052-0598-04e8-d58b8c8f90dd)
            (bootable 1)
            (dev hdc:cdrom)
            (uname file:/var/lib/libvirt/images/ubuntu-10.04-server-amd64.iso)
            (mode r)
            (backend 0)
            (VDI )
        )
    )
    (device
        (vbd
            (uuid 50f5e87d-6789-6d5b-b2fe-2939a08fcd9c)
            (bootable 0)
            (dev sda:disk)
            (uname phy:/dev/drbd/by-res/fileserver)
            (mode w)
            (backend 0)
            (VDI )
        )
    )
    (device (vkbd (backend 0)))
    (device
        (vfb
            (vncunused 1)
            (keymap it)
            (vnc 1)
            (uuid 7ee8a86b-ab0e-b413-e32c-0bd83e84fcd5)
        )
    )
)


-- 
Lorenzo Milesi - lorenzo.milesi@xxxxxxxxxx

YetOpen S.r.l. - http://www.yetopen.it/
Via Carlo Torri Tarelli 19 - 23900 Lecco - ITALY -
Tel 0341 220 205 - Fax 178 6070 222

GPG/PGP Key-Id: 0xE704E230 - http://keyserver.linux.it

-------- D.Lgs. 196/2003 --------

Si avverte che tutte le informazioni contenute in questo messaggio sono
riservate ed a uso esclusivo del destinatario. Nel caso in cui questo
messaggio Le fosse pervenuto per errore, La invitiamo ad eliminarlo
senza copiarlo, a non inoltrarlo a terzi e ad avvertirci non appena
possibile.
Grazie.


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.