From: Kornelius Prell Subject: [XCI] set up a paravirtualized VM Date: Thu, 30 Jul 2009 08:40:45 +0100 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1646834206==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============1646834206== Content-Type: multipart/alternative; boundary=000e0cd29e48f17270046fe76b23 --000e0cd29e48f17270046fe76b23 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hello, in the last days I've built Xenclient and successfully created a Windows VM according to Takas mail here: http://lists.xensource.com/archives/html/xen-users/2009-06/msg00276.html Now I was wondering what it takes to set up a paravirtualized VM in Xenclient. I tried to boot my Debian Lenny system (with Xen [2.6.26-1-xen-686] kernel / initrd and Xenclient kernel / initramfs) as a pv VM without much success. It is initalised in paused state and unpausing it won't help (it gets into running state but top shows completly idle CPU). I cannot find any error in the /tmp/xenvm-debug logfile so far: [20090729 06:27:40.956|info|xenvm] stale socket left by previous xenvm. removing [20090729 06:27:40.957|info|vmact] sending notification ping [20090729 06:27:40.957|debug|xenops] Regenerating the xenstored tree under: [/local/domain/5] [20090729 06:27:40.962|debug|xenops] Created domain with id: 5 [20090729 06:27:40.962|info|vmact] sending notification vm:state:created [20090729 06:27:40.980|debug|xenops] build_pre domid=5; mem=1048576 KiB; shadow=0 KiB (0 MiB); video=0 KiB [20090729 06:27:40.980|debug|xenguesthelper] connect: args = [ -mode linux_build -domid 5 -memsize 1024 -image /boot/vmlinuz -ramdisk /boot/initramfs.gz -cmdline root=/dev/sda1 ro -features -flags 0 -store_port 1 -console_port 2 -fork true ] [20090729 06:27:41.276|debug|xenops] Read [910778 910777 ] [20090729 06:27:41.280|debug|xenops] Device.Vbd.add (virtpath=hda | physpath=/dev/sda | phystype=phys) [20090729 06:27:41.280|debug|xenops] adding device B0[/local/domain/0/backend/vbd/5/768] F5[/local/domain/5/device/vbd/768] H[/xapi/5/hotplug/vbd/768] [20090729 06:27:41.290|debug|hotplug] Hotplug.wait_for_plug: frontend (domid=5 | kind=vbd | devid=768); backend (domid=0 | kind=vbd | devid=768) [20090729 06:27:41.290|debug|xenops] watch: watching xenstore paths: [ /xapi/5/hotplug/vbd/768/hotplug ] with timeout 1200.000000 seconds [20090729 06:27:41.291|debug|xenops] watch: fired on /xapi/5/hotplug/vbd/768/hotplug [20090729 06:27:41.401|debug|xenops] watch: fired on /xapi/5/hotplug/vbd/768/hotplug [20090729 06:27:41.401|debug|xenops] watch: value has appeared: /xapi/5/hotplug/vbd/768/hotplug = online [20090729 06:27:41.401|debug|xenops] watch: Successfully finished watching xenstore after 0.110453 seconds [20090729 06:27:41.401|debug|hotplug] Synchronised ok with hotplug script: frontend (domid=5 | kind=vbd | devid=768); backend (domid=0 | kind=vbd | devid=768) [20090729 06:27:41.401|debug|xenops] Device.Vif.add domid=5 devid=-1 mac=22:7f:83:17:25:db rate=none [20090729 06:27:41.401|debug|xenops] adding device B0[/local/domain/0/backend/vif/5/-1] F5[/local/domain/5/device/vif/-1] H[/xapi/5/hotplug/vif/-1] [20090729 06:27:41.407|debug|hotplug] Hotplug.wait_for_plug: frontend (domid=5 | kind=vif | devid=-1); backend (domid=0 | kind=vif | devid=-1) [20090729 06:27:41.408|debug|xenops] watch: watching xenstore paths: [ /xapi/5/hotplug/vif/-1/hotplug ] with timeout 1200.000000 seconds [20090729 06:27:41.408|debug|xenops] watch: fired on /xapi/5/hotplug/vif/-1/hotplug [20090729 06:27:41.551|debug|xenops] watch: fired on /xapi/5/hotplug/vif/-1/hotplug [20090729 06:27:41.552|debug|xenops] watch: value has appeared: /xapi/5/hotplug/vif/-1/hotplug = online [20090729 06:27:41.552|debug|xenops] watch: Successfully finished watching xenstore after 0.144395 seconds [20090729 06:27:41.552|debug|hotplug] Synchronised ok with hotplug script: frontend (domid=5 | kind=vif | devid=-1); backend (domid=0 | kind=vif | devid=-1) [20090729 06:27:41.552|debug|netman] Adding vif5.429496729 to bridge xenbr0 [20090729 06:27:41.556|debug|xenops] Executing [ /opt/xensource/libexec/closeandexec -- /opt/xensource/libexec/vncterm-wrapper 5 -x /local/domain/5/serial/0 ] [20090729 06:27:41.558|debug|xenops] watch: watching xenstore paths: [ /local/domain/5/serial/0/vnc-port ] with timeout 1200.000000 seconds [20090729 06:27:41.559|debug|xenops] watch: fired on /local/domain/5/serial/0/vnc-port Here is the VM config file: uuid = 01000000-0000-0000-0000-102130000014 hvm = false memory = 1024 debug = true kernel = /boot/vmlinuz initrd = /boot/initramfs.gz disk = /dev/sda:phy:hda:w:disk cmdline = root=/dev/sda1 ro boot = c vif = bridge=xenbr0 Is there a possibility to fetch the log of the boot process of a paravirtualised guest VM? Thanks Kornelius --000e0cd29e48f17270046fe76b23 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hello,
=A0
in the last=20 days=A0I've built Xenclient and successfully created a Windows VM accor= ding=20 to
=A0
Now I was wondering=20 what it takes to set up a paravirtualized VM in Xenclient.
I tried to boot my=20 Debian=A0Lenny=A0system (with Xen=A0[2.6.26-1-xen-686] kernel / initrd and= =20 Xenclient kernel / initramfs) as a pv VM without much=20 success.
It is initalised in=20 paused state and unpausing it won't help (it gets into running state bu= t top=20 shows=A0completly idle CPU).
=A0
I cannot find any=20 error in the /tmp/xenvm-debug logfile so far:
[20090729 06:27:40.956|info|xenvm] stale socket= left=20 by previous xenvm. removing
[20090729 06:27:40.957|info|vmact] sending= =20 notification ping
[20090729 06:27:40.957|debug|xenops] Regenerating the= =20 xenstored tree under: [/local/domain/5]
[20090729 06:27:40.962|debug|xen= ops]=20 Created domain with id: 5
[20090729 06:27:40.962|info|vmact] sending=20 notification vm:state:created
[20090729 06:27:40.980|debug|xenops] build= _pre=20 domid=3D5; mem=3D1048576 KiB; shadow=3D0 KiB (0 MiB); video=3D0 KiB
[200= 90729=20 06:27:40.980|debug|xenguesthelper] connect: args =3D [ -mode linux_build -d= omid 5=20 -memsize 1024 -image /boot/vmlinuz -ramdisk /boot/initramfs.gz -cmdline=20 root=3D/dev/sda1 ro -features=A0 -flags 0 -store_port 1 -console_port 2 -fo= rk true=20 ]
[20090729 06:27:41.276|debug|xenops] Read [910778 910777 ]
[2009072= 9=20 06:27:41.280|debug|xenops] Device.Vbd.add (virtpath=3Dhda | physpath=3D/dev= /sda |=20 phystype=3Dphys)
[20090729 06:27:41.280|debug|xenops] adding device=A0= =20 B0[/local/domain/0/backend/vbd/5/768]=A0 F5[/local/domain/5/device/vbd/768]= =A0=20 H[/xapi/5/hotplug/vbd/768]
[20090729 06:27:41.290|debug|hotplug]=20 Hotplug.wait_for_plug: frontend (domid=3D5 | kind=3Dvbd | devid=3D768); bac= kend=20 (domid=3D0 | kind=3Dvbd | devid=3D768)
[20090729 06:27:41.290|debug|xeno= ps] watch:=20 watching xenstore paths: [ /xapi/5/hotplug/vbd/768/hotplug ] with timeout= =20 1200.000000 seconds
[20090729 06:27:41.291|debug|xenops] watch: fired on= =20 /xapi/5/hotplug/vbd/768/hotplug
[20090729 06:27:41.401|debug|xenops] wat= ch:=20 fired on /xapi/5/hotplug/vbd/768/hotplug
[20090729 06:27:41.401|debug|xe= nops]=20 watch: value has appeared: /xapi/5/hotplug/vbd/768/hotplug =3D online
[2= 0090729=20 06:27:41.401|debug|xenops] watch: Successfully finished watching xenstore a= fter=20 0.110453 seconds
[20090729 06:27:41.401|debug|hotplug] Synchronised ok w= ith=20 hotplug script: frontend (domid=3D5 | kind=3Dvbd | devid=3D768); backend (d= omid=3D0 |=20 kind=3Dvbd | devid=3D768)
[20090729 06:27:41.401|debug|xenops] Device.Vi= f.add=20 domid=3D5 devid=3D-1 mac=3D22:7f:83:17:25:db rate=3Dnone
[20090729=20 06:27:41.401|debug|xenops] adding device=A0 B0[/local/domain/0/backend/vif/= 5/-1]=A0=20 F5[/local/domain/5/device/vif/-1]=A0 H[/xapi/5/hotplug/vif/-1]
[20090729= =20 06:27:41.407|debug|hotplug] Hotplug.wait_for_plug: frontend (domid=3D5 | ki= nd=3Dvif=20 | devid=3D-1); backend (domid=3D0 | kind=3Dvif | devid=3D-1)
[20090729= =20 06:27:41.408|debug|xenops] watch: watching xenstore paths: [=20 /xapi/5/hotplug/vif/-1/hotplug ] with timeout 1200.000000 seconds
[20090= 729=20 06:27:41.408|debug|xenops] watch: fired on=20 /xapi/5/hotplug/vif/-1/hotplug
[20090729 06:27:41.551|debug|xenops] watc= h:=20 fired on /xapi/5/hotplug/vif/-1/hotplug
[20090729 06:27:41.552|debug|xen= ops]=20 watch: value has appeared: /xapi/5/hotplug/vif/-1/hotplug =3D online
[20= 090729=20 06:27:41.552|debug|xenops] watch: Successfully finished watching xenstore a= fter=20 0.144395 seconds
[20090729 06:27:41.552|debug|hotplug] Synchronised ok w= ith=20 hotplug script: frontend (domid=3D5 | kind=3Dvif | devid=3D-1); backend (do= mid=3D0 |=20 kind=3Dvif | devid=3D-1)
[20090729 06:27:41.552|debug|netman] Adding=20 vif5.429496729 to bridge xenbr0
[20090729 06:27:41.556|debug|xenops]=20 Executing [ /opt/xensource/libexec/closeandexec --=20 /opt/xensource/libexec/vncterm-wrapper 5 -x /local/domain/5/serial/0=20 ]
[20090729 06:27:41.558|debug|xenops] watch: watching xenstore paths: [= =20 /local/domain/5/serial/0/vnc-port ] with timeout 1200.000000=20 seconds
[20090729 06:27:41.559|debug|xenops] watch: fired on=20 /local/domain/5/serial/0/vnc-port
=A0
Here is the VM=20 config file:
uuid =3D=20 01000000-0000-0000-0000-102130000014
hvm =3D false
memory =3D 1024debug =3D=20 true
kernel =3D /boot/vmlinuz
initrd =3D /boot/initramfs.gz
disk = =3D=20 /dev/sda:phy:hda:w:disk
cmdline =3D root=3D/dev/sda1 ro
boot =3D cvif =3D=20 bridge=3Dxenbr0
=A0
Is there a possibility to fetch=20 the log of the boot process of a paravirtualised guest VM?
=A0
Thanks
Kornelius
--000e0cd29e48f17270046fe76b23-- --===============1646834206== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1646834206==--