1. 22 7月, 2009 5 次提交
    • M
      Retain disk PCI address across libvirtd restarts · 01654107
      Mark McLoughlin 提交于
      When we hot-plug a disk device into a qemu guest, we need to retain its
      PCI address so that it can be removed again later. Currently, we do
      retain the slot number, but not across libvirtd restarts.
      
      Add <state devaddr="xxxx:xx:xx"/> to the disk device XML config when the
      VIR_DOMAIN_XML_INTERNAL_STATUS flag is used. We still don't parse the
      domain and bus number, but the format allows us to do that in future.
      
      * src/domain_conf.h: replace slotnum with pci_addr struct, add helper
        for testing whether the address is valid
      
      * src/domain_conf.c: handle formatting and parsing the address
      
      * src/qemu_driver.c: store the parsed slot number as a full PCI address,
        and use this address with the pci_del monitor command
      
      * src/vbox/vbox_tmpl.c: we're debug printing slotnum here even though
        it can never be set, just delete it
      01654107
    • M
      Add internal XML parsing/formatting flag · aa98871c
      Mark McLoughlin 提交于
      We need to store things like device names and PCI slot numbers in the
      qemu domain state file so that we don't lose that information on
      libvirtd restart. Add a flag to indicate that this information should
      be parsed or formatted.
      
      Make bit 16 and above of the flags bitmask for internal use only and
      consume the first bit for this new status flag.
      
      * include/libvirt/libvirt.h: add VIR_DOMAIN_XML_FLAGS_MASK
      
      * src/libvirt.c: reject private flags in virDomainGetXMLDesc()
      
      * src/domain_conf.h: add VIR_DOMAIN_XML_INTERNAL_STATUS
      
      * src/domain_conf.c: pass the flag from virDomainObjParseXML() and
        virDomainSaveStatus
      aa98871c
    • L
      Rename variable for compilation in Mingw32 · 1499e1d5
      Laine Stump 提交于
      * src/virsh.c: rename interface into iface
      1499e1d5
    • T
      Fix documentation of virStoragePoolUndefine return · 683241de
      Thomas Treutner 提交于
      * src/libvirt.c: the documented return was wrong
      683241de
    • D
      Fix typo in check for glusterfs format pools · 6c3f7d7f
      Daniel P. Berrange 提交于
      * src/storage_backend_fs.c: Replace = with == for comparison
      6c3f7d7f
  2. 21 7月, 2009 11 次提交
  3. 17 7月, 2009 19 次提交
  4. 16 7月, 2009 5 次提交
    • L
      Implement the new virinterface functions · d4ad29be
      Laine Stump 提交于
      * src/driver.h: add new driver functions virDrvNumOfDefinedInterfaces
        and virDrvListDefinedInterfaces
      * src/libvirt.c: implements the entry points, calling new driver
        functions
      * qemud/remote.c qemud/remote_dispatch_args.h qemud/remote_protocol.[chx]
        qemud/remote_dispatch_prototypes.h qemud/remote_dispatch_ret.h
        qemud/remote_dispatch_table.h src/remote_internal.c: implement the
        client/server side of the RPC
      d4ad29be
    • L
      Public API for new virInterface functions · 043c954e
      Laine Stump 提交于
      * include/libvirt/libvirt.h[.in]: adds signatures for the new exported
        functions virConnectNumOfDefinedInterfaces and
        virConnectListDefinedInterfaces
      * src/libvirt_public.syms: export the new symbols
      043c954e
    • D
      Fix configure flags in spec file · d3c236f9
      Daniel Veillard 提交于
      * libvirt.spec.in: we were still using deprecated configure switches
      d3c236f9
    • D
      Rename a bunch of internal methods to clarify their meaning · 5dd21f2a
      Daniel P. Berrange 提交于
      This renames a lot of the methods in the remote driver client
      to more accurately reflect their responsibility of IO handling
      vs message handling.
      5dd21f2a
    • D
      Simplify remote driver error reporting · d65707a5
      Daniel P. Berrange 提交于
      Remove redundant error reporting functions which obscured the
      filename/line number reporting. Removed code which created a
      virDomain/virNetwork object, since those are silently dropped
      in error reporting functions now
      
      * src/remote_internal.c: Remove error() and errorf() in favour of
       macros, and remove server_error in favour of direct call
      d65707a5