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

[Xen-users] CPU features on XML file not working!



Hello,

Does anyone have masked their CPU flags with Libvirt?? It's because
I have done so with Libvirt and Virsh compare / baseline. But when
I boot the DomU I see the same flags as if I hadn't declare de <cpu>
tag containing the features just as is described in: http://libvirt.org/formatdomain.html#elementsCPU

I pasted bellow my XML file definition.

I would be really grateful if someone shared your domain XML definition
with me or tell me the syntax. I've been struggling for hours, just
you know following the documentation available but there is no
functionality for me yet.

Thank you a lot!

Antonio Colín.

PS: This is my XML definition



<domain type='xen' id='6'>
  <name>debian-atp</name>
  <uuid>b10372f9-91d7-a05f-12ff-372100c99af5</uuid>
  <memory>524288</memory>
  <currentMemory>524288</currentMemory>
  <vcpu>2</vcpu>

<cpu mode='custom' match='strict'>
  <model fallback='allow'>Penryn</model>
  <vendor>Intel</vendor>
  <topology sockets='1' cores='2' threads='1'/>
  <feature policy='disable' name='rdtscp'/>
  <feature policy='require' name='pdcm'/>
  <feature policy='require' name='xtpr'/>
  <feature policy='require' name='tm2'/>
  <feature policy='require' name='est'/>
  <feature policy='require' name='vmx'/>
  <feature policy='require' name='ds_cpl'/>
  <feature policy='require' name='monitor'/>
  <feature policy='require' name='dtes64'/>
  <feature policy='require' name='pbe'/>
  <feature policy='require' name='tm'/>
  <feature policy='require' name='ht'/>
  <feature policy='require' name='ss'/>
  <feature policy='require' name='acpi'/>
  <feature policy='require' name='ds'/>
  <feature policy='require' name='vme'/>
</cpu>

  <os>
    <type>hvm</type>
    <loader>/usr/lib/xen-4.0/boot/hvmloader</loader>
    <boot dev='cdrom'/>
    <boot dev='hd'/>
  </os>
  <features>
    <acpi/>
    <apic/>
    <pae/>
  </features>

  <clock offset='utc'/>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>restart</on_crash>
  <devices>
    <emulator>/usr/lib64/xen/bin/qemu-dm</emulator>
    <disk type='file' device='disk'>
      <driver name='file'/>
      <source file='/mnt/vms/debian-atptest.img'/>
      <target dev='hda' bus='ide'/>
    </disk>
    <disk type='block' device='cdrom'>
      <driver name='phy'/>
      <source dev='/dev/sr0'/>
      <target dev='hdc' bus='ide'/>
      <readonly/>
    </disk>
    <interface type='bridge'>
      <mac address='22:61:34:00:00:34'/>
      <source bridge='eth0'/>
      <script path='/etc/xen/scripts/vif-bridge'/>
      <target dev='vif6.0'/>
    </interface>
    <serial type='pty'>
      <source path='/dev/pts/5'/>
      <target port='0'/>
    </serial>
    <console type='pty' tty='/dev/pts/5'>
      <source path='/dev/pts/5'/>
      <target type='serial' port='0'/>
    </console>
    <input type='mouse' bus='ps2'/>
    <graphics type='vnc' port='5901' autoport='yes'/>
  </devices>
</domain>

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

 


Rackspace

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