1. 13 11月, 2010 5 次提交
  2. 12 11月, 2010 3 次提交
    • L
      Do a better job of validating IP and MAC addresses in network.rng · 76654409
      Laine Stump 提交于
      IP addresses and MAC addresses had been defined in the RNG simply as
      <text/> meaning that, according to the RNG, any string could go in
      there. Of course the C parsing code does a much better job of
      validating, but we may as well have this describing the contents
      accurately (even though it's currently only used during "make check").
      76654409
    • L
      re-indent network.rng following structural change · 5983f2d2
      Laine Stump 提交于
      This commit is whitespace changes only, do avoid obscuring actual code
      changes.
      5983f2d2
    • L
      Put network.rng contents inside <grammar> for uniformity with other RNGs · 3d10d348
      Laine Stump 提交于
      All the other RNG files in libvirt are enclosed within <grammar>. This
      commit makes the syntactical changes necessary to make network.rng fit
      that pattern. (This is the first step in adding some data type
      definitions to network.rng for more exact validation of IP and MAC
      addresses).
      
      Formatting changes (indentation) will be done in a subsequent commit,
      so that actual changes to the code won't be obscured by whitespace.
      3d10d348
  3. 10 11月, 2010 2 次提交
  4. 09 11月, 2010 7 次提交
    • J
      schema: Move timer element inside clock · 38eec464
      Jiri Denemark 提交于
      Both conf/domain_conf.c and domain XML documentation have <timer>
      elements inside /domain/clock. Change domain.rng schema to be consistent
      with them.
      38eec464
    • D
      Misc test case fixes for SPICE · ff2bb29c
      Daniel P. Berrange 提交于
      * docs/schemas/domain.rng: Fix merge error which left SPICE channel
        elements under VNC schema.
      * tests/qemuhelptest.c: Add SPICE flag to kvm-83 test
      * tests/qemuxml2argvdata/qemuxml2argv-graphics-spice.xml: Add
        <memballoon> element
      ff2bb29c
    • D
      Support SPICE channel security options · b0ef5c53
      Daniel P. Berrange 提交于
      This extends the SPICE XML to allow channel security options
      
          <graphics type='spice' port='-1' tlsPort='-1' autoport='yes'>
            <channel name='main' mode='secure'/>
            <channel name='record' mode='insecure'/>
          </graphics>
      
      Any non-specified channel uses the default, which allows both
      secure & insecure usage
      
      * src/conf/domain_conf.c, src/conf/domain_conf.h,
        src/libvirt_private.syms: Add XML syntax for specifying per
        channel security options for spice.
      * src/qemu/qemu_conf.c: Configure channel security with spice
      b0ef5c53
    • D
      Define XML syntax for password expiry · 7a696678
      Daniel P. Berrange 提交于
      This extends the XML syntax for <graphics> to allow a password
      expiry time to be set
      
      eg
      
        <graphics type='vnc' port='5900' autoport='yes' keymap='en-us' passwd='12345' passwdValidTo='2010-04-09T15:51:00'/>
      
      The timestamp is in UTC.
      
      * src/conf/domain_conf.h: Pull passwd out into separate struct
        virDomainGraphicsAuthDef to allow sharing between VNC & SPICE
      * src/conf/domain_conf.c: Add parsing/formatting of new passwdValidTo
        argument
      * src/opennebula/one_conf.c, src/qemu/qemu_conf.c, src/qemu/qemu_driver.c,
        src/xen/xend_internal.c, src/xen/xm_internal.c: Update for changed
        struct containing VNC password
      7a696678
    • D
      Add a <graphics> type for SPICE protocol · c909091b
      Daniel P. Berrange 提交于
      This adds an element
      
       <graphics type='spice' port='5903' tlsPort='5904' autoport='yes' listen='127.0.0.1'/>
      
      This is the bare minimum that should be exposed in the guest
      config for SPICE. Other parameters are better handled as per
      host level configuration tunables
      
      * docs/schemas/domain.rng: Define the SPICE <graphics> schema
      * src/domain_conf.h, src/domain_conf.c: Add parsing and formatting
        for SPICE graphics config
      * src/qemu_conf.c: Complain about unsupported graphics types
      c909091b
    • D
      Add a QXL graphics card type to domain XML schema · 3cf5b6f7
      Daniel P. Berrange 提交于
      * src/qemu_conf.c: Add dummy entry in enumeration
      * docs/schemas/domain.rng: Add 'qxl' as a type for the <video> tag
      * src/domain_conf.c, src/domain_conf.h: Add QXL to video type
        enumerations
      3cf5b6f7
    • M
      xen-proxy: Remove it entirely and use libvirtd instead · e65812d4
      Matthias Bolte 提交于
      Suggested by danpb, as it's not up-to-date anymore and
      lacks many functions that were added to libvirtd.
      e65812d4
  5. 08 11月, 2010 2 次提交
    • D
      Add smbios element to schema and configuration to HVM os · d528b52f
      Daniel Veillard 提交于
      the element has a mode attribute allowing only 3 values:
        - emulate: use the smbios emulation from the hypervisor
        - host: try to use the smbios values from the node
        - sysinfo: grab the values from the <sysinfo> fields
      
      * docs/schemas/domain.rng: extend the schemas
      * src/conf/domain_conf.h: add the flag to the domain config
      * src/conf/domain_conf.h: parse and serialize the smbios if present
      d528b52f
    • D
      Sysinfo extension to relax-ng schemas · 5c3611ca
      Daniel Veillard 提交于
      Currently includes a subset of the SMBIOS strings set
      5c3611ca
  6. 05 11月, 2010 1 次提交
  7. 02 11月, 2010 2 次提交
  8. 29 10月, 2010 1 次提交
    • D
      Release of libvirt-0.8.5 · 4c2b3e1d
      Daniel Veillard 提交于
      * configure.ac libvirt.spec.in: new version
      * docs/news.html.in: update news page and improve format
      * po/*.po*: Update po again
      4c2b3e1d
  9. 28 10月, 2010 4 次提交
  10. 27 10月, 2010 3 次提交
  11. 26 10月, 2010 2 次提交
  12. 23 10月, 2010 1 次提交
  13. 22 10月, 2010 2 次提交
  14. 20 10月, 2010 1 次提交
  15. 19 10月, 2010 3 次提交
    • E
      vcpu: add current attribute to <vcpu> element · a74f4e44
      Eric Blake 提交于
      Syntax agreed on in
      https://www.redhat.com/archives/libvir-list/2010-September/msg00476.html
      
      <domain ...>
        <vcpu current='x'>y</vcpu>
      ...
      
      can now be used to specify 1 <= x <= y current vcpus, in relation
      to the boot-time max of y vcpus.  If current is omitted, then
      current and max are assumed to be the same value.
      
      * docs/schemas/domain.rng: Add new attribute.
      * docs/formatdomain.html.in: Document it.
      * tests/qemuxml2argvdata/qemuxml2argv-smp.xml: Add to
      domainschematest.
      * tests/xml2sexprdata/xml2sexpr-pv-vcpus.xml: Likewise.
      a74f4e44
    • S
      Introduce VIR_CLOSE to be used rather than close() · f04de501
      Stefan Berger 提交于
      Since bugs due to double-closed file descriptors are difficult to track down in a multi-threaded system, I am introducing the VIR_CLOSE(fd) macro to help avoid mistakes here.
      
      There are lots of places where close() is being used. In this patch I am only cleaning up usage of close() in src/conf where the problems were.
      
      I also dare to declare close() as being deprecated in libvirt code base (HACKING).
      f04de501
    • N
      Update docs for memory parameters and memtune command · 61dfbf8c
      Nikunj A. Dadhania 提交于
      * docs/formatdomain.html.in: Add memtune element details, added min_guarantee
      * src/libvirt.c: Update virDomainGetMemoryParameters api description, make
        it more clear that the user first needs to call the api to get the number
        of parameters supported and then call again to get the values.
      * tools/virsh.pod: Add usage of new command memtune in virsh manpage
      61dfbf8c
  16. 16 10月, 2010 1 次提交