1. 13 10月, 2010 32 次提交
  2. 12 10月, 2010 8 次提交
    • J
      cpu: Remove redundant features · a4deed4a
      Jiri Denemark 提交于
      Some features provided by the recently added CPU models were mentioned
      twice for each model. This was a result of automatic generation of the
      XML from qemu's CPU configuration file without noticing this redundancy.
      a4deed4a
    • E
      util: add missing export · 412b62d2
      Eric Blake 提交于
      Commit 1fe2927a forgot to export a symbol.
      
      * src/libvirt_private.syms (virHexToBin): Add.
      * src/.gitignore: Ignore temporary file.
      412b62d2
    • D
      Set sensible defaults for cpu match and feature policy · 95ff6b18
      Daniel P. Berrange 提交于
      To enable the CPU XML from the capabilities to be pasted directly
      into the guest XML with no editing, pick a sensible default for
      match and feature policy. The CPU match will be exact and the
      feature policy will be require. This should ensure safety for
      migration and give DWIM semantics for users
      
      * src/conf/cpu_conf.c: Default to exact match and require policy
      * docs/formatdomain.html.in: Document new defaults
      95ff6b18
    • D
      Add automatic generation of a todo item page · 1938bc69
      Daniel P. Berrange 提交于
      This adds a script to generate the todo item page from
      bugzilla. This requires a valid username+password for
      bugzilla, so it is intended that this only be run on
      the libvirt.org website via cron. Normal usage will just
      generate an empty stub page.
      
      * docs/todo.pl: Script to extract todo items from bugzilla
      * docs/todo.cfg-example: Example config file
      * docs/sitemap.html.in: Add todo page
      * docs/Makefile.am: Generation rules for todo items
      1938bc69
    • J
      xen: Fix virDomain{At,De}tachDevice · 093973aa
      Jiri Denemark 提交于
      According to API documentation virDomain{At,De}tachDevice calls are
      supposed to only work on active guests for device hotplug. For anything
      beyond that, their *Flags variants have to be used.
      
      Despite the variant which was acked on libvirt mailing list
      (https://www.redhat.com/archives/libvir-list/2010-January/msg00385.html)
      commit ed9c14a7 (by Jim Fehlig)
      introduced automagic behavior of these API calls for xen driver. Since
      January, these calls always change persistent configuration of a guest
      and if the guest is currently active, they also hot(un)plug the device.
      
      That change didn't follow API documentation and also broke device
      hot(un)plug for older xend implementations which do not support changing
      persistent configuration of a guest and hot(un)plugging in one step.
      
      This patch should not break anything for active guests. On the other
      hand, changing inactive guests is not supported any more.
      093973aa
    • J
      xen: xenXMDomain*DeviceFlags should obey all flags · e2856d36
      Jiri Denemark 提交于
      xenXMDomain*DeviceFlags() silently ignores requests to modify live
      configuration of an active guest while still touching its persistent
      configuration.
      e2856d36
    • J
      xen: Fix logic bug in xenDaemon*DeviceFlags · 6ab99b8a
      Jiri Denemark 提交于
      6ab99b8a
    • J
      xen: Make xenDaemon*DeviceFlags errors less confusing · 28160e22
      Jiri Denemark 提交于
      When a user calls to virDomain{Attach,Detach,Update}DeviceFlags() with
      flags == VIR_DOMAIN_DEVICE_MODIFY_LIVE on an inactive guest running on
      an old Xen hypervisor (such as RHEL-5) xend_internal driver reports:
      
          Xend version does not support modifying persistent config
      
      which is pretty confusing since no-one requested to modify persistent
      config.
      28160e22