1. 27 1月, 2020 11 次提交
  2. 25 1月, 2020 1 次提交
  3. 16 1月, 2020 2 次提交
  4. 13 1月, 2020 2 次提交
  5. 09 1月, 2020 1 次提交
  6. 19 12月, 2019 2 次提交
  7. 17 12月, 2019 3 次提交
    • M
      qemu: Generate command line of NVMe disks · 8e2026cc
      Michal Privoznik 提交于
      Now, that we have everything prepared, we can generate command
      line for NVMe disks.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      Reviewed-by: NCole Robinson <crobinso@redhat.com>
      8e2026cc
    • 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
    • D
      qemu: command: move qemuBuildGraphicsSPICECommandLine validation to qemu_domain.c · c19bb8c0
      Daniel Henrique Barboza 提交于
      Move the SPICE caps validation from qemuBuildGraphicsSPICECommandLine()
      to a new function called qemuDomainDeviceDefValidateSPICEGraphics().
      This function is called by qemuDomainDeviceDefValidateGraphics(),
      which in turn is called by qemuDomainDefValidate(), validating the graphics
      parameters in domain define time.
      
      This validation move exposed a flaw in the 'default-video-type' tests
      for PPC64, AARCH64 and s390 archs. The XML was considering 'spice' as
      the default video type, which isn't true for those architectures.
      This was flying under the radar until now because the SPICE validation
      was being made in 'virsh start' time, while the XML validation done in
      qemuxml2xmltest.c considers define time.
      
      All other tests were adapted to consider SPICE validation in this
      earlier stage.
      Reviewed-by: NCole Robinson <crobinso@redhat.com>
      Signed-off-by: NDaniel Henrique Barboza <danielhb413@gmail.com>
      c19bb8c0
  8. 03 12月, 2019 1 次提交
  9. 25 11月, 2019 2 次提交
  10. 22 11月, 2019 1 次提交
  11. 21 11月, 2019 5 次提交
  12. 15 11月, 2019 1 次提交
  13. 13 11月, 2019 2 次提交
  14. 07 11月, 2019 1 次提交
  15. 21 10月, 2019 1 次提交
  16. 18 10月, 2019 2 次提交
    • J
      qemu: Generate 'xres' and 'yres' for QEMU video devices · 71519d46
      Julio Faracco 提交于
      This commit let QEMU command line define 'xres' and 'yres' properties
      if XML contains both properties from video model: based on resolution
      fields 'x' and 'y'. There is a conditional structure inside
      qemuDomainDeviceDefValidateVideo() that validates if video model
      supports this feature. This commit includes the necessary changes to
      cover resolution for 'video-qxl-resolution' test cases too.
      Reviewed-by: NCole Robinson <crobinso@redhat.com>
      Signed-off-by: NJulio Faracco <jcfaracco@gmail.com>
      71519d46
    • J
      conf: Add 'x' and 'y' resolution into video XML definition · 72862797
      Julio Faracco 提交于
      This commit adds resolution element with parameters 'x' and 'y' into video
      XML domain group definition. Both, properties were added into an element
      called 'resolution' and it was added inside 'model' element. They are set
      as optional. This element does not follow QEMU properties 'xres' and
      'yres' format. Both HTML documentation and schema were changed too. This
      commit includes a simple test case to cover resolution for QEMU video
      models. The new XML format for resolution looks like:
      
          <model ...>
            <resolution x='800' y='600'/>
          </model>
      Reviewed-by: NCole Robinson <crobinso@redhat.com>
      Signed-off-by: NJulio Faracco <jcfaracco@gmail.com>
      72862797
  17. 10 10月, 2019 2 次提交