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

Re: [Xen-users] Error starting stubdom HVM on Xen-3.4.3-rc4-pre


  • To: Mike Viau <viaum@xxxxxxxxxxxxxxx>
  • From: Andrew Evans <andrewe@xxxxxxxxxxxxx>
  • Date: Mon, 15 Mar 2010 19:26:52 -0700
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Mon, 15 Mar 2010 19:28:49 -0700
  • Domainkey-signature: a=rsa-sha1; s=serpent; d=yahoo-inc.com; c=nofws; q=dns; h=message-id:date:from:user-agent:mime-version:to:cc:subject: references:in-reply-to:content-type; b=AjGvBb8pJnMxCQQedZ+YNw3CnxYiDLIs7+KAlNGnW2Sp8OccpZSD4KXNTgU+zpih
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

On 03/15/10 19:15, Mike Viau wrote:

A working libvirt XML formatted DomU would surfice.


Here you go:

<domain type='xen'>
  <name>test</name>
  <os>
    <type>hvm</type>
    <loader>/usr/lib/xen/boot/hvmloader</loader>
    <boot dev='hd'/>
  </os>

  <memory>7340032</memory>
  <vcpu>7</vcpu>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>restart</on_crash>
  <features>
     <pae/>
     <acpi/>
     <apic/>
  </features>
  <clock offset='utc'/>

  <devices>
    <emulator>/usr/lib/xen/bin/stubdom-dm</emulator>

    <interface type='bridge'>
      <source bridge='eth0'/>
      <mac address='00:50:56:0f:dd:02'/>
    </interface>

    <disk type='block' device='disk'>
      <source dev='/dev/sys/lv0'/>
      <target dev='hda'/>
    </disk>
    <disk type='block' device='disk'>
      <source dev='/dev/sys/lv1'/>
      <target dev='hdb'/>
    </disk>
    <disk type='block' device='disk'>
      <source dev='/dev/sys/lv2'/>
      <target dev='hdc'/>
    </disk>

<!-- stub domains don't have access to dom0's ptys, so this is not possible
    <serial type='pty'>
    </serial>
-->

    <graphics type='vnc' autoport='yes'/>

  </devices>
</domain>

I was looking at http://libvirt.org/drvxen.html

And realized that "virsh domxml-to-native" may be used to convert the domU configuration to native if necessary.

I am interested in knowing how you incorporated the stubdom-dm loader.

The link above demonstrates Fullyvirtualized guest direct kernel boots, Fullyvirtualized guest BIOS boots, Paravirtualized guest direct kernel boots, and Paravirtualized guest bootloader with pygrub examples.

Non of the examples feature the stubdom-dm loader.

I would greatly appreciate it if you could post a complete and working stubdom HVM domU configuration.


Sorry, I just assumed libvirt was a non-starter. Hope this helps.

-Andrew

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