1. 10 1月, 2017 1 次提交
  2. 07 1月, 2017 3 次提交
  3. 06 1月, 2017 6 次提交
  4. 05 1月, 2017 1 次提交
  5. 04 1月, 2017 1 次提交
  6. 02 1月, 2017 7 次提交
  7. 22 12月, 2016 1 次提交
    • P
      tests: enable virpolkittest on any ELF platform · c782a8d9
      Pino Toscano 提交于
      This tests uses preload, which should work on any ELF-based platform
      (and indeed it passes on Linux, GNU/kFreeBSD, and FreeBSD).
      
      Also remove the WITH_DBUS conditional, as the test is already built
      based on that conditional.
      c782a8d9
  8. 21 12月, 2016 1 次提交
  9. 20 12月, 2016 1 次提交
  10. 19 12月, 2016 1 次提交
  11. 16 12月, 2016 4 次提交
  12. 14 12月, 2016 2 次提交
  13. 13 12月, 2016 1 次提交
  14. 09 12月, 2016 1 次提交
    • J
      tests: Fix virmacmaptest when allocation fails · 80acf4b8
      John Ferlan 提交于
      If the allocation fails in DO_TEST_FLUSH_PROLOGUE, then 'mgr == NULL',
      but the code continues on - which won't be good. So modify the macro
      to cause an immediate failure and jump to a cleanup label.
      
      Found by Coverity as FORWARD_NULL event.
      80acf4b8
  15. 08 12月, 2016 2 次提交
    • M
      qemu: Create hugepage path on per domain basis · f55afd83
      Michal Privoznik 提交于
      If you've ever tried running a huge page backed guest under
      different user than in qemu.conf, you probably failed. Problem is
      even though we have corresponding APIs in the security drivers,
      there's no implementation and thus we don't relabel the huge page
      path. But even if we did, so far all of the domains share the
      same path:
      
         /hugepageMount/libvirt/qemu
      
      Our only option there would be to set 0777 mode on the qemu dir
      which is totally unsafe. Therefore, we can create dir on
      per-domain basis, i.e.:
      
         /hugepageMount/libvirt/qemu/domainName
      
      and chown domainName dir to the user that domain is configured to
      run under.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      f55afd83
    • M
      conf: Make scheduler formatting simpler · dc18766b
      Martin Kletzander 提交于
      Since the great rework of how we store vcpu- and iothread-related
      data, we have overly complex part of code that is trying to format the
      scheduler tuning data in as less lines as possible by grouping
      settings for multiple threads.  That was designed as an input syntax
      sugar for users, but we don't need to also use that when formatting
      the XML.  Switching to simple enumeration makes the code nicer,
      shorter and more welcoming to future changes.
      Signed-off-by: NMartin Kletzander <mkletzan@redhat.com>
      dc18766b
  16. 07 12月, 2016 3 次提交
  17. 06 12月, 2016 4 次提交
    • M
      nss: Introduce libvirt-guest module · 22f7ceb6
      Michal Privoznik 提交于
      So far the NSS module looks up only hostnames as provided by
      guests themselves. However, there are some cases where this is
      not enough: e.g. when there's a fresh new guest being installed
      (with some generic hostname) say from a live ISO image; or some
      (older) systems don't advertise their hostname in DHCP
      transactions at all.
      In cases like that it would be helpful if we translate domain
      name as seen by libvirt too so that users can:
      
        # virsh start $dom && ssh $dom
      
      In order to achieve that new libvirt-guest module is introduced,
      while older libvirt module maintains its current behaviour (that
      is translating guest provided names into IP addresses).
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      22f7ceb6
    • M
      nss: Use macro to generate public API names · 30efb515
      Michal Privoznik 提交于
      The name of the exported functions for an NSS module is quite
      fixed, it is derived from the module name:
      
        _nss_$module_$function
      
      Since we will create another NSS module with very similar
      implementation we might as well generate the function names at
      the compile time.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      30efb515
    • M
      util: Introduce virMACMap module · 86980bc7
      Michal Privoznik 提交于
      This module will be used to track:
      
        <domain, mac address list>
      
      pairs. It will be important to know these mappings without
      libvirt connection (that is from a JSON file), because NSS
      module will use those to provide better host name translation.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      86980bc7
    • M
      virstring: Introduce virStringListRemove · b379c44c
      Michal Privoznik 提交于
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      b379c44c