1. 16 5月, 2018 1 次提交
  2. 15 5月, 2018 1 次提交
  3. 14 5月, 2018 1 次提交
  4. 11 5月, 2018 1 次提交
  5. 04 5月, 2018 1 次提交
    • C
      conf: format/parse <vmcoreinfo> as tristate · c84be081
      Cole Robinson 提交于
      <features><vmcoreinfo/> is a bare boolean XML property. We don't really
      use this format anymore and instead prefer tristate <X state=on|off/>
      since it's required for modeling on/off/default. If for example future
      qemu started enabling vmcoreinfo by default we wouldn't have any way
      for the user to turn this off.
      
      Convert it to tristate. For writing XML this is semanticly the same,
      <vmcoreinfo/> is processed as <vmcoreinfo state='on'/>.
      
      For apps reading guest XML this is technically an API change,
      as they might misinterpret <vmcoreinfo state='off'/>, however this
      has only been present in libvirt since 3.10.0 and I don't think any
      apps are dependent on this yet
      Reviewed-by: NJohn Ferlan <jferlan@redhat.com>
      Signed-off-by: NCole Robinson <crobinso@redhat.com>
      c84be081
  6. 03 5月, 2018 2 次提交
  7. 23 4月, 2018 1 次提交
    • A
      conf: Add rom.enabled attribute for PCI devices · c4466179
      Andrea Bolognani 提交于
      The attribute can be used to disable ROM loading completely
      for a device.
      
      This might be needed because, even when the guest is configured
      such that the PCI ROM will not be loaded in the PCI BAR, some
      hypervisors (eg. QEMU) might still make it available to the
      guest in a form (eg. fw_cfg) that some firmwares (eg. SeaBIOS)
      will consume, thus not achieving the desired result.
      Signed-off-by: NAndrea Bolognani <abologna@redhat.com>
      c4466179
  8. 20 4月, 2018 1 次提交
  9. 07 4月, 2018 1 次提交
  10. 06 4月, 2018 3 次提交
  11. 02 4月, 2018 1 次提交
  12. 24 3月, 2018 2 次提交
  13. 17 2月, 2018 1 次提交
    • Z
      conf: Add support for setting Chassis SMBIOS data fields · c8fec256
      Zhuang Yanying 提交于
      This type of information defines attributes of a system
      chassis, such as SMBIOS Chassis Asset Tag.
      
      access inside VM (for example)
      Linux:   /sys/class/dmi/id/chassis_asset_tag.
      Windows: (Get-WmiObject Win32_SystemEnclosure).SMBIOSAssetTag
                wirhin Windows PowerShell.
      
      As an example, add the following to the guest XML
      
          <chassis>
            <entry name='manufacturer'>Dell Inc.</entry>
            <entry name='version'>2.12</entry>
            <entry name='serial'>65X0XF2</entry>
            <entry name='asset'>40000101</entry>
            <entry name='sku'>Type3Sku1</entry>
          </chassis>
      Signed-off-by: NZhuang Yanying <ann.zhuangyanying@huawei.com>
      Reviewed-by: NJohn Ferlan <jferlan@redhat.com>
      c8fec256
  14. 12 2月, 2018 1 次提交
  15. 02 2月, 2018 1 次提交
  16. 30 1月, 2018 1 次提交
  17. 26 1月, 2018 3 次提交
  18. 25 1月, 2018 1 次提交
  19. 02 1月, 2018 1 次提交
  20. 07 12月, 2017 1 次提交
  21. 28 11月, 2017 5 次提交
  22. 23 11月, 2017 1 次提交
  23. 18 11月, 2017 1 次提交
    • M
      qemu: add vmcoreinfo support · 7e4177a3
      Marc-André Lureau 提交于
      Starting from qemu 2.11, the `-device vmcoreinfo` will create a fw_cfg
      entry for a guest to store dump details, necessary to process kernel
      dump with KASLR enabled and providing additional kernel details.
      
      In essence, it is similar to -fw_cfg name=etc/vmcoreinfo,file=X but in
      this case it is not backed by a file, but collected by QEMU itself.
      
      Since the device is a singleton and shouldn't use additional hardware
      resources, it is presented as a <feature> element in the libvirt
      domain XML.
      
      The device is arm/x86 only for now (targets that support fw_cfg+dma).
      
      Related to:
      https://bugzilla.redhat.com/show_bug.cgi?id=1395248Signed-off-by: NMarc-André Lureau <marcandre.lureau@redhat.com>
      7e4177a3
  24. 14 11月, 2017 1 次提交
  25. 13 11月, 2017 1 次提交
    • W
      numa: describe siblings distances within cells · 74119a03
      Wim ten Have 提交于
      Add support for describing NUMA distances in a domain's <numa> <cell>
      XML description.
      
      Below is an example of a 4 node setup:
      
        <cpu>
          <numa>
            <cell id='0' cpus='0-3' memory='2097152' unit='KiB'>
              <distances>
                <sibling id='0' value='10'/>
                <sibling id='1' value='21'/>
                <sibling id='2' value='31'/>
                <sibling id='3' value='21'/>
              </distances>
            </cell>
            <cell id='1' cpus='4-7' memory='2097152' unit='KiB'>
              <distances>
                <sibling id='0' value='21'/>
                <sibling id='1' value='10'/>
                <sibling id='2' value='21'/>
                <sibling id='3' value='31'/>
              </distances>
            </cell>
            <cell id='2' cpus='8-11' memory='2097152' unit='KiB'>
              <distances>
                <sibling id='0' value='31'/>
                <sibling id='1' value='21'/>
                <sibling id='2' value='10'/>
                <sibling id='3' value='21'/>
              </distances>
            <cell id='3' cpus='12-15' memory='2097152' unit='KiB'>
              <distances>
                <sibling id='0' value='21'/>
                <sibling id='1' value='31'/>
                <sibling id='2' value='21'/>
                <sibling id='3' value='10'/>
              </distances>
            </cell>
          </numa>
        </cpu>
      
      A <cell> defines a NUMA node. <distances> describes the NUMA distance
      from the <cell> to the other NUMA nodes (the <sibling>s).  For example,
      in above XML description, the distance between NUMA node0 <cell id='0'
      ...> and NUMA node2 <sibling id='2' ...> is 31.
      
      Valid distance values are '10 <= value <= 255'.  A distance value of 10
      represents the distance to the node itself.  A distance value of 20
      represents the default value for remote nodes but other values are
      possible depending on the physical topology of the system.
      
      When distances are not fully described, any missing sibling distance
      values will default to 10 for local nodes and 20 for remote nodes.
      
      If distance is given for A -> B, then we default B -> A to the same
      value instead of 20.
      Signed-off-by: NWim ten Have <wim.ten.have@oracle.com>
      Reviewed-by: NDaniel P. Berrange <berrange@redhat.com>
      Signed-off-by: NJim Fehlig <jfehlig@suse.com>
      74119a03
  26. 08 11月, 2017 1 次提交
  27. 04 11月, 2017 1 次提交
  28. 26 10月, 2017 1 次提交
  29. 23 10月, 2017 1 次提交
  30. 20 10月, 2017 1 次提交
    • J
      conf: Add/Allow parsing the encryption in the disk source · 37537a7c
      John Ferlan 提交于
      Since the virStorageEncryptionPtr encryption; is a member of
       _virStorageSource it really should be allowed to be a subelement
      of the disk <source> for various disk formats:
      
         Source{File|Dir|Block|Volume}
         SourceProtocol{RBD|ISCSI|NBD|Gluster|Simple|HTTP}
      
      NB: Simple includes sheepdog, ftp, ftps, tftp
      
      That way we can set up to allow the <encryption> element to be
      formatted within the disk source, but we still need to be wary
      from whence the element was read - see keep track and when it
      comes to format the data, ensure it's written in the correct place.
      
      Modify the qemuxml2argvtest to add a parse failure when there is an
      <encryption> as a child of <disk> *and* an <encryption> as a child
      of <source>.
      
      The virschematest will read the new test files and validate from a
      RNG viewpoint things are fine.
      37537a7c