1. 16 1月, 2020 2 次提交
  2. 15 1月, 2020 2 次提交
  3. 14 1月, 2020 2 次提交
  4. 13 1月, 2020 4 次提交
  5. 10 1月, 2020 4 次提交
  6. 09 1月, 2020 1 次提交
  7. 08 1月, 2020 1 次提交
  8. 07 1月, 2020 2 次提交
  9. 06 1月, 2020 2 次提交
    • W
      Introduce command 'virsh domstats --memory' for reporting memory BW · 65a63d88
      Wang Huaqiang 提交于
      Introduce an option '--memory' for showing memory related
      information. The memory bandwidth infomatio is listed as:
      
      Domain: 'libvirt-vm'
       memory.bandwidth.monitor.count=4
       memory.bandwidth.monitor.0.name=vcpus_0-4
       memory.bandwidth.monitor.0.vcpus=0-4
       memory.bandwidth.monitor.0.node.count=2
       memory.bandwidth.monitor.0.node.0.id=0
       memory.bandwidth.monitor.0.node.0.bytes.total=10208067584
       memory.bandwidth.monitor.0.node.0.bytes.local=4807114752
       memory.bandwidth.monitor.0.node.1.id=1
       memory.bandwidth.monitor.0.node.1.bytes.total=8693735424
       memory.bandwidth.monitor.0.node.1.bytes.local=5850161152
       memory.bandwidth.monitor.1.name=vcpus_7
       memory.bandwidth.monitor.1.vcpus=7
       memory.bandwidth.monitor.1.node.count=2
       memory.bandwidth.monitor.1.node.0.id=0
       memory.bandwidth.monitor.1.node.0.bytes.total=853811200
       memory.bandwidth.monitor.1.node.0.bytes.local=290701312
       memory.bandwidth.monitor.1.node.1.id=1
       memory.bandwidth.monitor.1.node.1.bytes.total=406044672
       memory.bandwidth.monitor.1.node.1.bytes.local=229425152
      Signed-off-by: NWang Huaqiang <huaqiang.wang@intel.com>
      65a63d88
    • P
      schemas: backup: Remove pointless <choice> for 'name' of backup disk · 5b53d9dd
      Peter Krempa 提交于
      One of the first versions thought of using disk path as the second
      option but this was dropped as being a legacy interface. Remove the
      leftover pointless <choice> wrapper for the disk name as there's just
      one option now.
      Signed-off-by: NPeter Krempa <pkrempa@redhat.com>
      Reviewed-by: NDaniel P. Berrangé <berrange@redhat.com>
      5b53d9dd
  10. 03 1月, 2020 1 次提交
  11. 25 12月, 2019 1 次提交
  12. 24 12月, 2019 1 次提交
  13. 23 12月, 2019 1 次提交
  14. 21 12月, 2019 2 次提交
  15. 20 12月, 2019 3 次提交
  16. 19 12月, 2019 4 次提交
  17. 18 12月, 2019 1 次提交
  18. 17 12月, 2019 1 次提交
    • M
      schemas: Introduce disk type NVMe · e1b02289
      Michal Privoznik 提交于
      There is this class of PCI devices that act like disks: NVMe.
      Therefore, they are both PCI devices and disks. While we already
      have <hostdev/> (and can assign a NVMe device to a domain
      successfully) we don't have disk representation. There are three
      problems with PCI assignment in case of a NVMe device:
      
      1) domains with <hostdev/> can't be migrated
      
      2) NVMe device is assigned whole, there's no way to assign only a
         namespace
      
      3) Because hypervisors see <hostdev/> they don't put block layer
         on top of it - users don't get all the fancy features like
         snapshots
      
      NVMe namespaces are way of splitting one continuous NVDIMM memory
      into smaller ones, effectively creating smaller NVMe-s (which can
      then be partitioned, LVMed, etc.)
      
      Because of all of this the following XML was chosen to model a
      NVMe device:
      
        <disk type='nvme' device='disk'>
          <driver name='qemu' type='raw'/>
          <source type='pci' managed='yes' namespace='1'>
            <address domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
          </source>
          <target dev='vda' bus='virtio'/>
        </disk>
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      Reviewed-by: NCole Robinson <crobinso@redhat.com>
      e1b02289
  19. 16 12月, 2019 1 次提交
  20. 14 12月, 2019 1 次提交
  21. 13 12月, 2019 3 次提交
    • H
      conf: create memory bandwidth monitor. · 40a070ae
      Huaqiang 提交于
      Following domain configuration changes create two memory bandwidth
      monitors: one is monitoring the bandwidth consumed by vCPU 0,
      another is for vCPU 5.
      
      ```
                     <cputune>
                       <memorytune vcpus='0-4'>
                         <node id='0' bandwidth='20'/>
                         <node id='1' bandwidth='30'/>
             +           <monitor vcpus='0'/>
                       </memorytune>
             +         <memorytune vcpus='5'>
             +           <monitor vcpus='5'/>
             +         </memorytune>
      
                     </cputune>
          ```
      Reviewed-by: NDaniel P. Berrangé <berrange@redhat.com>
      Signed-off-by: NHuaqiang <huaqiang.wang@intel.com>
      40a070ae
    • H
      cachetune schema: a looser check for the order of <cache> and <monitor> element · 1d0c3c3a
      Huaqiang 提交于
      Originally, inside <cputune/cachetune>, it requires the <cache> element to
      be in the position before <monitor>, and following configuration is not
      permitted by schema, but it is better to let it be valid.
      
        <cputune>
          <cachetune vcpus='0-1'>
            <monitor level='3' vcpus='0-1'/>
                  ^
                  |__ Not permitted originally because it is in the place
                      before <cache> element.
      
            <cache id='0' level='3' type='both' size='3' unit='MiB'/>
            <cache id='1' level='3' type='both' size='3' unit='MiB'/>
          </cachetune>
          ...
        </cputune>
      
      And, let schema do more strict check by identifying following configuration to
      be invalid, due to <cachetune> should contain at least one <cache> or <monitor>
      element.
      
        <cputune>
          <cachetune vcpus='0-1'>
              ^
              |__ a <cachetune> SHOULD contain at least one <cache> or <monitor>
      
          </cachetune>
          ...
        </cputune>
      Reviewed-by: NDaniel P. Berrangé <berrange@redhat.com>
      Signed-off-by: NHuaqiang <huaqiang.wang@intel.com>
      1d0c3c3a
    • D
      docs: remove link to virsh cmd ref & app dev guide · 1100931f
      Daniel P. Berrangé 提交于
      Both the application developer guide and virsh command
      reference are unmaintained for best part of 8 years, and
      so horrifically out of date. This does not give a good
      impression to people reading the docs. Now that we are
      publishing the man pages online, those are a better
      doc to read for virsh.  We can also highlight the API
      reference instead of the app dev guide.
      
      The virsh command reference & app dev guide will
      still exist on the web root, but will not be linked
      to.
      Reviewed-by: NJán Tomko <jtomko@redhat.com>
      Signed-off-by: NDaniel P. Berrangé <berrange@redhat.com>
      1100931f