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

[Xen-users] RE: VNC to HVM not starting


  • To: <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: "Hu Jia Yi" <jyhu@xxxxxxxxx>
  • Date: Fri, 21 Sep 2007 10:56:40 +0800
  • Delivery-date: Thu, 20 Sep 2007 19:57:23 -0700
  • List-id: Xen user discussion <xen-users.lists.xensource.com>
  • Thread-index: Acf7g4hof/WvujDpROqjNsryMlueDQAc/ieg
  • Thread-topic: VNC to HVM not starting

I cannot open VNC yet. But I can see the HVM domain "winxp" is running
in virt-manager.
I create this domain winxp in virt-manager and put its uuid in xm config
file.

The following are xm config file and xm list -ll result

===========================================
                xm config file
===========================================
kernel = "/usr/lib/xen/boot/hvmloader"
builder='hvm'
memory = 512
# shadow_memory = 8
name = "winxp"
uuid = "9bf83d7c13e1848615a36094fcc3ed22"
vcpus=2
#pae=1
#acpi=1
#apic=1
#cpus = ""         # leave to Xen to pick
#cpus = "0"        # all vcpus run on CPU0
#cpus = "0-3,5,^1" # run on cpus 0,2,3,5
vif = [ 'type=ioemu, mac=00:16:3e:79:5c:8b, bridge=eth0, model=ne2k_pci'
]
disk=['phy:/dev/sda3, ioemu:hda, w']
#on_poweroff = 'destroy'
#on_reboot   = 'restart'
#on_crash    = 'restart'
device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'
boot="cda"
#snapshot=1
#sdl=0
vnc=1

#the IP is get from dom0, eth0
vnclisten="10.8.114.40"

vncdisplay=1
vncunused=0
vncconsole=1
vncpasswd='123456'
#nographic=0
stdvga=0
serial='pty'
#monitor=1
#soundhw='sb16'
#localtime=1
#rtc_timeoffset=3600
#full-screen=1   
usb=1
usbdevice='tablet'
#keymap='ja'

===========================================
                xm list -ll result
===========================================
(domain
    (on_crash restart)
    (uuid 9bf83d7c-13e1-8486-15a3-6094fcc3ed22)
    (bootloader_args )
    (vcpus 2)
    (name winxp)
    (on_poweroff destroy)
    (on_reboot restart)
    (bootloader )
    (maxmem 500)
    (memory 500)
    (shadow_memory 6)
    (cpu_weight 256)
    (cpu_cap 0)
    (features )
    (on_xend_start ignore)
    (on_xend_stop ignore)
    (start_time 1190340014.17)
    (cpu_time 27.190939825)
    (online_vcpus 1)
    (image
        (hvm
            (kernel /usr/lib/xen/boot/hvmloader)
            (acpi 1)
            (apic 1)
            (boot c)
            (device_model /usr/lib/xen/bin/qemu-dm)
            (pae 1)
            (rtc_timeoffset None)
            (serial pty)
            (notes (SUSPEND_CANCEL 1))
        )
    )
    (status 0)
    (store_mfn 127998)
    (device
        (vif
            (bridge eth0)
            (uuid 29fb6bd9-e8c9-ccf7-bbb4-3cda2f562664)
            (script vif-bridge)
            (devid 0)
            (mac 00:16:3e:79:5c:8b)
            (type ioemu)
            (backend 0)
        )
    )
    (device
        (vbd
            (uuid 5d2c7b71-d749-400f-1825-c8f72203a576)
            (bootable 1)
            (devid 768)
            (driver paravirtualised)
            (dev hda:disk)
            (uname phy:/dev/sda3)
            (mode w)
            (backend 0)
        )
    )
    (device
        (vbd
            (uuid 96fc9867-8f43-4a7d-7b99-9c720c612a4a)
            (bootable 0)
            (devid 5632)
            (driver paravirtualised)
            (dev hdc:cdrom)
            (uname phy:/dev/cdrom)
            (mode r)
            (backend 0)
        )
    )
    (device
        (vkbd (devid 0) (uuid 543accf0-302b-5cb7-f216-379ad31a293d)
(backend 0))
    )
    (device
        (vfb
            (uuid c87bde23-3ed3-e7b3-cd03-c8ada1f788b8)
            (devid 'None')
            (vncdisplay 0)
            (keymap en-us)
            (type vnc)
        )
    )
)

Best regards,
Hu Jia Yi
Ext: 20430
Tel: 65-67510430



_______________________________________________
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®.