1. 05 3月, 2019 1 次提交
    • C
      conf: Add <disk model='virtio-{non-}transitional'/> · 25d05051
      Cole Robinson 提交于
      <disk> devices lack the model= attribute which is used by
      most other device types. bus= mostly acts as one, but it
      serves other purposes too like determing what target=
      prefix to use, and for matching against controller type=
      values.
      
      Extending bus= to handle additional virtio transitional
      devices will complicate apps lives, and it isn't a clean
      mapping anyways. So let's bite the bullet and add a new
      <disk model=X/> attribute, and wire up common handling
      for virtio and virtio-{non-}transitional
      Reviewed-by: NAndrea Bolognani <abologna@redhat.com>
      Signed-off-by: NCole Robinson <crobinso@redhat.com>
      25d05051
  2. 24 2月, 2019 1 次提交
  3. 06 2月, 2019 1 次提交
  4. 02 2月, 2019 1 次提交
  5. 31 1月, 2019 1 次提交
  6. 30 1月, 2019 3 次提交
  7. 27 1月, 2019 1 次提交
    • R
      bhyve: implement support for commandline args · 0c8df110
      Roman Bogorodskiy 提交于
      Implement support for passing custom command line arguments
      to bhyve using the 'bhyve:commandline' element:
      
        <bhyve:commandline>
          <bhyve:arg value='-newarg'/>
        </bhyve:commandline>
      
       * Define virDomainXMLNamespace for the bhyve driver, which
         at this point supports only the 'commandline' element
         described above,
       * Update command generation code to inject these command line
         arguments between driver-generated arguments and the vmname
         positional argument.
      Signed-off-by: NRoman Bogorodskiy <bogorodskiy@gmail.com>
      Reviewed-by: NJohn Ferlan <jferlan@redhat.com>
      0c8df110
  8. 04 1月, 2019 1 次提交
  9. 02 1月, 2019 3 次提交
  10. 18 12月, 2018 1 次提交
  11. 13 12月, 2018 1 次提交
  12. 03 12月, 2018 2 次提交
  13. 28 11月, 2018 1 次提交
  14. 27 11月, 2018 1 次提交
  15. 16 11月, 2018 1 次提交
    • M
      qemu: add memfd source type · 24b74d18
      Marc-André Lureau 提交于
      Add a new memoryBacking source type "memfd", supported by QEMU (when
      the capability is available).
      
      A memfd is a specialized anonymous memory kind. As such, an anonymous
      source type could be automatically using a memfd. However, there are
      some complications when migrating from different memory backends in
      qemu (mainly due to the internal object naming at this point, but
      there could be more). For now, it is simpler and safer to simply
      introduce a new source type "memfd". Eventually, the "anonymous" type
      could learn to use memfd transparently in a separate change.
      
      The main benefits are that it doesn't need to create filesystem files,
      and it also enforces sealing, providing a bit more safety.
      Signed-off-by: NMarc-André Lureau <marcandre.lureau@redhat.com>
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      24b74d18
  16. 15 11月, 2018 5 次提交
  17. 30 10月, 2018 1 次提交
  18. 21 9月, 2018 1 次提交
    • W
      conf: Introduce RDT monitor host capability · 6af84174
      Wang Huaqiang 提交于
      This patch is introducing cache monitor(CMT) to cache and
      memory bandwidth monitor(MBM) for monitoring CPU memory
      bandwidth.
      
      The host capability of the two monitors is also introduced
      in this patch.
      
      For CMT, the host capability is shown like:
        <host>
        ...
          <cache>
            <bank id='0' level='3' type='both' size='15' unit='MiB' cpus='0-5'>
              <control granularity='768' min='1536' unit='KiB' type='both' maxAllocs='4'/>
            </bank>
            <monitor level='3' 'reuseThreshold'='270336' maxMonitors='176'>
              <feature name='llc_occupancy'/>
            </monitor>
          </cache>
          ...
        </host>
      
      For MBM, the capability is shown like this:
        <host>
          ...
          <memory_bandwidth>
            <node id='1' cpus='6-11'>
              <control granularity='10' min ='10' maxAllocs='4'/>
            </node>
            <monitor maxMonitors='176'>
              <feature name='mbm_total_bytes'/>
              <feature name='mbm_local_bytes'/>
            </monitor>
          </memory_bandwidth>
          ...
        </host>
      Signed-off-by: NWang Huaqiang <huaqiang.wang@intel.com>
      Reviewed-by: NJohn Ferlan <jferlan@redhat.com>
      6af84174
  19. 11 9月, 2018 1 次提交
  20. 08 9月, 2018 1 次提交
  21. 28 8月, 2018 1 次提交
    • A
      qemu: Introduce 16550A serial console model · 9610eaa4
      Andrea Bolognani 提交于
      None of the existing models is suitable for use with
      RISC-V virt guests, and we don't want information about
      the serial console to be missing from the XML.
      
      The name is based on comments in qemu/hw/riscv/virt.c:
      
        RISC-V machine with 16550a UART and VirtIO MMIO
      
      and in qemu/hw/char/serial.c:
      
        QEMU 16550A UART emulation
      
      along with the output of dmesg in the guest:
      
        Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
        10000000.uart: ttyS0 at MMIO 0x10000000 (irq = 13,
          base_baud= 230400) is a 16550A
      Signed-off-by: NAndrea Bolognani <abologna@redhat.com>
      Reviewed-by: NJán Tomko <jtomko@redhat.com>
      9610eaa4
  22. 24 8月, 2018 1 次提交
  23. 21 8月, 2018 1 次提交
  24. 17 8月, 2018 3 次提交
  25. 14 8月, 2018 2 次提交
    • B
      conf: Add memory bandwidth allocation capability of host · 7995fecc
      Bing Niu 提交于
      Add new XML section to report host's memory bandwidth allocation
      capability. The format as below example:
      
       <host>
       .....
         <memory_bandwidth>
           <node id='0' cpus='0-19'>
             <control granularity='10' min ='10' maxAllocs='8'/>
           </node>
         </memory_bandwidth>
      </host>
      
      granularity   ---- granularity of memory bandwidth, unit percentage.
      min           ---- minimum memory bandwidth allowed, unit percentage.
      maxAllocs     ---- maximum memory bandwidth allocation group supported.
      Signed-off-by: NBing Niu <bing.niu@intel.com>
      Reviewed-by: NJohn Ferlan <jferlan@redhat.com>
      7995fecc
    • B
      conf: Add support for memorytune XML processing for resctrl MBA · 6956b7ee
      Bing Niu 提交于
      Introduce a new section memorytune to support memory bandwidth allocation.
      This is consistent with existing cachetune. As the example:
      below:
        <cputune>
          ......
          <memorytune vcpus='0'>
            <node id='0' bandwidth='30'/>
          </memorytune>
        </cputune>
      
      vpus      --- vpus subjected to this memory bandwidth.
      id        --- on which node memory bandwidth to be set.
      bandwidth --- the memory bandwidth percent to set.
      Signed-off-by: NBing Niu <bing.niu@intel.com>
      Reviewed-by: NJohn Ferlan <jferlan@redhat.com>
      6956b7ee
  26. 08 8月, 2018 2 次提交
  27. 06 8月, 2018 1 次提交