1. 16 5月, 2013 10 次提交
    • J
      util: Fix build without devmapper · c431f065
      Jiri Denemark 提交于
      stdlib.h header file needed for getenv was only transitively included
      through libdevmapper.h.
      c431f065
    • D
      Expand documentation for LXC driver · 41beacd9
      Daniel P. Berrange 提交于
      Update the LXC driver documentation to describe the way
      containers are setup by default. Also describe the common
      virsh commands for managing containers and a little about
      the security. Placeholders for docs about configuring
      containers still to be filled in.
      Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
      41beacd9
    • O
      conf: Improve the coding style · a3f600f9
      Osier Yang 提交于
      Add spaces around "<<", and remove the useless blank-line.
      a3f600f9
    • E
      string: test VIR_STRDUP · 504b4a8d
      Eric Blake 提交于
      The surest way to avoid regressions is to test documented behavior :)
      
      * tests/virstringtest.c (testStrdup): New test case.
      Signed-off-by: NEric Blake <eblake@redhat.com>
      504b4a8d
    • G
      virsh: lookup interface by name or mac other than one by one · 36c0a791
      Guannan Ren 提交于
      Use virMacAddrParse() to distinguish interface name from interface
      mac address.
      36c0a791
    • S
      nwfilter: check for inverted ctdir · a6a04ea4
      Stefan Berger 提交于
      Linux netfilter at some point (Linux 2.6.39) inverted the meaning of the
      '--ctdir reply' and newer netfilter implementations now expect
      '--ctdir original' instead and vice-versa.
      We check for the kernel version and assume that all Linux kernels with version
      2.6.39 have the newer inverted logic.
      
      Any distro backporting the Linux kernel patch that inverts the --ctdir logic
      (Linux commit 96120d86f) must also backport this patch for Linux and
      adapt the kernel version being tested for.
      Signed-off-by: NStefan Berger <stefanb@linux.vnet.ibm.com>
      a6a04ea4
    • R
      FreeBSD: disable buggy -fstack-protector-all · cc7cd623
      Roman Bogorodskiy 提交于
      FreeBSD ships an old gcc 4.2.1 which generates
      bogus code, e.g. getsockopt() call returns
      struct xucred with bogus values, which doesn't even
      allow to connect to libvirtd:
      
      error: Failed to find group record for gid '1284660778': No error: 0
      
      So roll back to just -fstack-protector on FreeBSD.
      cc7cd623
    • J
      Adjust improperly formatted <sysinfo> uuid · a2c37618
      John Ferlan 提交于
      If the <sysinfo> system table 'uuid' field is improperly formatted,
      then qemu will fail to start the guest with the error:
      
      virsh start dom
      error: Failed to start domain dom
      error: internal error process exited while connecting to monitor: Invalid SMBIOS UUID string
      
      This was because the parsing rules were lax with respect to allowing extraneous
      spaces and dashes in the provided UUID.  As long as there were 32 hexavalues
      that matched the UUID for the domain the string was accepted. However startup
      failed because the string format wasn't correct. This patch will adjust the
      string format so that when it's presented to the driver it's in the expected
      format.
      
      Added a test for uuid comparison within sysinfo.
      a2c37618
    • J
      Validate the bios_date format for <sysinfo> · 21540f5e
      John Ferlan 提交于
      Add incorrectly formatted bios_date validation test
      21540f5e
    • J
      docs: Fix/update syntax in Sysinfo/SMBIOS description · 14b3cac5
      John Ferlan 提交于
      14b3cac5
  2. 15 5月, 2013 21 次提交
  3. 14 5月, 2013 9 次提交