1. 18 6月, 2015 7 次提交
    • M
      parallels: Fix initialization of buflen variable in each loop iteration · fad9b77e
      Mikhail Feoktistov 提交于
      We need to initialize buflen every time when we get network adapter's
      friendly name because we call PrlVmDev_GetFriendlyName in a loop
      fad9b77e
    • J
      remove redundant condition · 6fab625f
      Ján Tomko 提交于
      If the address type is SPAPRVIO, it will match the != NONE condition.
      6fab625f
    • M
      virSysinfo: Introduce SMBIOS type 2 support · a9a27e60
      Michal Privoznik 提交于
      https://bugzilla.redhat.com/show_bug.cgi?id=1220527
      
      This type of information defines attributes of a system
      baseboard. With one exception: board type is yet not implemented
      in qemu so it's not introduced here either.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      a9a27e60
    • J
      qemu: Report all supported machine types in capabilities · beca509e
      Jiri Denemark 提交于
      Some machine types are only reported as canonical names for other
      machine types, which make it a bit harder to find what machine types are
      supported by a specific QEMU binary. Ideally, one would just use
      /capabilities/guest/arch[@name='...']/machine/text() XPath to get a list
      of all supported machine types, but it doesn't work right now.
      
      For example, we report
      
          <machine canonical='pc-i440fx-2.3' maxCpus='255'>pc</machine>
      
      in guest capabilities, but the corresponding
      
          <machine maxCpus='255'>pc-i440fx-2.3</machine>
      
      is missing.
      
      This is a result of QMP probing. With "-machine ?" parsing QEMU sends
      us two lines:
      
      pc                   Standard PC (i440FX + PIIX, 1996) (alias of pc-i440fx-2.3)
      pc-i440fx-2.3        Standard PC (i440FX + PIIX, 1996) (default)
      
      while query-machines QMP command reports both in the same entry:
      
      {"name": "pc-i440fx-2.3", "is-default": true, "cpu-max": 255, "alias": "pc"}
      
      Let's make sure we always report separate <machine/> for both the
      canonical name and its alias and using the canonical name as the default
      machine type (i.e., inserting it before its alias) in case is-default is
      true.
      
      https://bugzilla.redhat.com/show_bug.cgi?id=1229666Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
      beca509e
    • M
      tests: Sort EXTRA_DIST in the Makefile · 7690a5a8
      Michal Privoznik 提交于
      We tend to keep the folders in the EXTRA_DIST sorted alphabetically.
      However, we've failed sometimes and the list is not ordered anymore.
      Reorder it back.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      7690a5a8
    • M
      daemon: Don't just include admin RPC · 13e5ea8b
      Michal Privoznik 提交于
      So, it's a little paradox that we use the file twice. Firstly to build
      libvirt-admin.la (a client side of the Admin API), then once again to
      build the server side. Well, the problem is, this does not play nicely
      with the distclean since the file is generated. So while it's removed
      in the src/ the distclean running in daemon/ will not find the file
      and fail. The file is needed because it contains the RPC wrappers. So
      let's leave the client code as is and from the daemon/ just link the
      client library. The linker will find desired symbols and use them.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      13e5ea8b
    • L
      nodedev: update netdev feature bits before each dumpxml · 30708179
      Laine Stump 提交于
      As with several other attributes of devices (link status, sriov VF
      list, IOMMU group list), the detdev feature bits aren't automatically
      updated in the nodedev driver's cache when they change. In order to
      get a properly up-to-date list when getting the XML of a device, we
      must reget them in update-caps prior to each dumpxml.
      
      This resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1232880
      30708179
  2. 17 6月, 2015 8 次提交
  3. 16 6月, 2015 25 次提交