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

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


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'>

<cpu mode='custom' match='strict'>
  <model fallback='allow'>Penryn</model>
  <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'/>

    <boot dev='cdrom'/>
    <boot dev='hd'/>

  <clock offset='utc'/>
    <disk type='file' device='disk'>
      <driver name='file'/>
      <source file='/mnt/vms/debian-atptest.img'/>
      <target dev='hda' bus='ide'/>
    <disk type='block' device='cdrom'>
      <driver name='phy'/>
      <source dev='/dev/sr0'/>
      <target dev='hdc' bus='ide'/>
    <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'/>
    <serial type='pty'>
      <source path='/dev/pts/5'/>
      <target port='0'/>
    <console type='pty' tty='/dev/pts/5'>
      <source path='/dev/pts/5'/>
      <target type='serial' port='0'/>
    <input type='mouse' bus='ps2'/>
    <graphics type='vnc' port='5901' autoport='yes'/>

Xen-users mailing list



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