1. 19 5月, 2016 9 次提交
    • E
      admin: Introduce virAdmServerGetClientLimits · 509bd5d8
      Erik Skultety 提交于
      Enable retrieval of the number of maximum clients connected to all sockets
      combined, as well as the number of maximum clients waiting for authentication,
      in order to be successfully connected. These are the attributes configurable
      through libvirtd.conf, however, it could be handy to not only know values for
      these limits, but also the values for the current number of clients
      connected and number of clients currently waiting for authentication which are
      changing dynamically. This API does both, retrieves the limits as well as the
      current dynamic values.
      Signed-off-by: NErik Skultety <eskultet@redhat.com>
      509bd5d8
    • E
      admin: Introduce some public constants related to server's client limits · 02f674e6
      Erik Skultety 提交于
      In order for typed params validation to pass on daemon side, we should
      encourage users to use our exported constants with typed params to diminish
      to avoid any potential problems related to argument validity.
      Signed-off-by: NErik Skultety <eskultet@redhat.com>
      02f674e6
    • E
      virnetserver: Introduce server's client-related limits getters · abf29786
      Erik Skultety 提交于
      Add some trivial getters for client related attributes to virnetserver before
      any admin method can be introduced.
      Signed-off-by: NErik Skultety <eskultet@redhat.com>
      abf29786
    • J
      qemu_cgroup: allow access to /dev/dri for virtio-vga · 3943bdd6
      Ján Tomko 提交于
      QEMU needs access to the /dev/dri/render* device for
      virgl to work.
      
      Allow access to all /dev/dri/* devices for domains with
      <video>
        <model type='virtio' heads='1' primary='yes'>
          <acceleration accel3d='yes'/>
        </model>
      </video>
      
      https://bugzilla.redhat.com/show_bug.cgi?id=1337290
      3943bdd6
    • C
      qemu: address: Remove QEMU_CAPS_DEVICE usage · 20a0fa8e
      Cole Robinson 提交于
      All qemu versions we support have QEMU_CAPS_DEVICE, so checking
      for it is redundant. Remove the usage.
      
      The code diff isn't clear, but all that code is just inindented
      with no other change.
      
      Test cases that hit qemuDomainAssignAddresses but don't have
      infrastructure for specifying qemuCaps values see lots of
      churn, since now PCI addresses are in the XML output.
      20a0fa8e
    • C
      tests: qemuargv2xmltest: Drop disk for s390 aes tests · 19cab36a
      Cole Robinson 提交于
      Upcoming patches are going to make the disk portion of these
      test cases fail. In order to make it work, we would need to
      extend the qemuargv2xml test infrastructure to handle qemuCaps.
      This is worthwhile to do at some point but isn't critical.
      
      Instead just drop the offending portion, which isn't even the
      target of the test cases anyways
      19cab36a
    • C
      qemu: Call virDomainDefPostParse via CONFIG hotplug · 383833e2
      Cole Robinson 提交于
      hotplug APIs with the AFFECT_CONFIG flag are essentially replicating
      'insert <device> into XML document, and redefine XML'. Thinking of
      it this way, it's natural that we call virDomainDefPostParse after
      manually editing the XML here.
      
      Not only does doing so allow us to drop a bunch of open coded calls
      to qemuDomainAssignAddresses, but it also means we are going through
      the standard channels for XML validation and potentially catching
      errors in user submitted XML.
      383833e2
    • C
      qemu: Assign device addresses in PostParse · 5d7314bb
      Cole Robinson 提交于
      This wires up qemuDomainAssignAddresses into the new
      virDomainDefAssignAddressesCallback, so it's always triggered
      via virDomainDefPostParse. We are essentially doing this already
      with open coded calls sprinkled about.
      
      qemu argv parse output changes slightly since previously it wasn't
      hitting qemuDomainAssignAddresses.
      5d7314bb
    • C
      domain: Add virDomainDefAssignAddressesCallback · f891390f
      Cole Robinson 提交于
      This will be called at the end of virDomainDefPostParse to
      allow hypervisor drivers to fill in device addresses.
      f891390f
  2. 18 5月, 2016 19 次提交
  3. 17 5月, 2016 12 次提交