WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

To: Mike Viau <viaum@xxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Error starting stubdom HVM on Xen-3.4.3-rc4-pre
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
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <BAY107-W2306579368CDF6F44CAE3EEF2D0@xxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <BAY107-W42294C04A67DEA1445DA32EF330@xxxxxxx>, <4B9EB460.7080304@xxxxxxxxxxxxx> <BAY107-W17ECB8BED3491041ED21CEEF2E0@xxxxxxx>, <4B9ED7BF.3000607@xxxxxxxxxxxxx> <BAY107-W2306579368CDF6F44CAE3EEF2D0@xxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.8) Gecko/20100308 Thunderbird/3.0.3
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