1. 19 8月, 2014 10 次提交
    • L
      virsh: Fix comment for net-undefine · 48da6187
      Li Yang 提交于
      net-undefine doesn't only undefine an inactive network,
      but also an active network(persistent), it just cannot
      undefine a transient network.
      Signed-off-by: NLi Yang <liyang.fnst@cn.fujitsu.com>
      Signed-off-by: NJán Tomko <jtomko@redhat.com>
      48da6187
    • P
      driver: Move virDrvNetworkGetDHCPLeases to the appropriate section · 2b748fb6
      Peter Krempa 提交于
      The prototype was along with domain API prototypes instead of network
      API ones.
      2b748fb6
    • P
      man: virsh: add missing auto-converge option for 'migrate' · 338ae9e2
      Pradipta Kr. Banerjee 提交于
        * tools/virsh.pod (migrate): Add --auto-converge flag
      Signed-off-by: NPradipta Kr. Banerjee <bpradip@in.ibm.com>
      Signed-off-by: NJán Tomko <jtomko@redhat.com>
      338ae9e2
    • M
      qemu: allow device block I/O tuning in session mode · 7d9def2e
      Martin Kletzander 提交于
      In commit 45ad1adb I added a nicer message for tunings that need
      cgroups when unavailable (unprivileged), but I added this check for
      I/O tuning of block devices, which doesn't need cgroups, because it is
      done by QEMU, so let's fix that.
      Signed-off-by: NMartin Kletzander <mkletzan@redhat.com>
      7d9def2e
    • J
      docs: nwfilter: add missing dscp attribute · 08567572
      Jianwei Hu 提交于
      Added attribute dscp to below supported protocols table in nwfilter docs.
      IPV4 (ip)
      TCP/UDP/SCTP (tcp/udp/sctp)
      ICMP (icmp)
      IGMP,ESP,AH,UDPLITE,'ALL' (igmp,esp,ah,udplite,all)
      TCP/UDP/SCTP over IPV6 (tcp-ipv6,udp-ipv6,sctp-ipv6)
      ICMPV6 (icmpv6)
      IGMP,ESP,AH,UDPLITE,'ALL' over IPv6 (igmp-ipv6,esp-ipv6,ah-ipv6,udplite-ipv6,all-ipv6)
      
      Here is a simple example:
      [root@localhost ~]# virsh nwfilter-dumpxml myself
      <filter name='myself' chain='root'>
        <uuid>7192ef51-cd50-4f14-ad7b-fa5c69ea19e3</uuid>
        <rule action='accept' direction='in' priority='500'>
          <ip dscp='1'/>
        </rule>
        <rule action='accept' direction='in' priority='500'>
          <tcp dscp='1'/>
        </rule>
        <rule action='accept' direction='in' priority='500'>
          <tcp-ipv6 dscp='2'/>
        </rule>
        <rule action='accept' direction='in' priority='500'>
          <icmp dscp='55'/>
        </rule>
        <rule action='accept' direction='in' priority='500'>
          <icmpv6 dscp='55'/>
        </rule>
        <rule action='accept' direction='in' priority='500'>
          <udp dscp='3'/>
        </rule>
        <rule action='accept' direction='in' priority='500'>
          <udp-ipv6 dscp='4'/>
        </rule>
        <rule action='accept' direction='in' priority='500'>
          <udplite dscp='5'/>
        </rule>
        <rule action='accept' direction='in' priority='500'>
          <udplite-ipv6 dscp='6'/>
        </rule>
        <rule action='accept' direction='in' priority='500'>
          <esp dscp='7'/>
        </rule>
        <rule action='accept' direction='in' priority='500'>
          <esp-ipv6 dscp='8'/>
        </rule>
        <rule action='accept' direction='in' priority='500'>
          <ah dscp='9'/>
        </rule>
        <rule action='accept' direction='in' priority='500'>
          <ah-ipv6 dscp='10'/>
        </rule>
        <rule action='accept' direction='in' priority='500'>
          <sctp dscp='11'/>
        </rule>
        <rule action='accept' direction='in' priority='500'>
          <sctp-ipv6 dscp='55'/>
        </rule>
        <rule action='accept' direction='in' priority='500'>
          <igmp dscp='55'/>
        </rule>
        <rule action='accept' direction='in' priority='500'>
          <all-ipv6 dscp='55'/>
        </rule>
        <rule action='accept' direction='in' priority='500'>
          <all dscp='55'/>
        </rule>
      </filter>
      Signed-off-by: NJán Tomko <jtomko@redhat.com>
      08567572
    • C
      cmdMigrate: move vshConnect before vshWatchJob · 7eabd550
      Chunyan Liu 提交于
      A possible fix to issue:
      http://www.redhat.com/archives/libvir-list/2014-August/thread.html#00227
      
      While doing migration on KVM host, found problem sometimes:
      VM is already running on the target host and disappears from source
      host, but 'virsh migrate' command line hangs, cannot exit normally.
      If pressing "ENTER" key, it will exit.
      
      The code hangs at tools/virsh-domain.c: cmdMigrate
      ->vshWatchJob->poll():
      poll() is trying to select pipe_fd, which is used to receive message
      from doMigrate thread. In debugging, found that doMigrate finishes
      and at the end it does call safewrite() to write the retval ('0' or
      '1') to pipe_fd, and the write is completed. But cmdMigrate poll()
      cannot get the event. If pressing "ENTER" key, poll() can get the
      event and select pipe_fd, then command line can exit.
      
      In current code, authentication thread which is called by vshConnect
      will use stdin, and at the same time, in cmdMigrate main process,
      poll() is listening to stdin, that probably affect poll() to get
      pipe_fd event. Better to move authentication before vshWatchJob. With
      this change, above problem does not exist.
      Signed-off-by: NChunyan Liu <cyliu@suse.com>
      7eabd550
    • J
      src/xenconfig: move common parsing/formatting to xen_common · 337a1362
      Jim Fehlig 提交于
      XM and XL config are very similar.  Disks are specified differently
      in XL, but the old XM disk config is still supported by XL.  XL also
      supports new config like spice that was never supported by XM.
      
      This patch moves all the common parsing and formatting functions to
      the new file xen_common.c and adapts the XM parser/formatter accordingly.
      This restructuring paves way for introducing an XL parser/formatter in
      the future.
      
      While moving the code, fixup whitespace, comments, and style issues.
      Signed-off-by: NJim Fehlig <jfehlig@suse.com>
      337a1362
    • K
      src/xenconfig: wrap common formatting code · f67bf6e9
      Kiarie Kahurani 提交于
      Wrap formatting code common to xm and xl in xenFormatConfigCommon
      and export it.
      Signed-off-by: NKiarie Kahurani <davidkiarie4@gmail.com>
      Signed-off-by: NJim Fehlig <jfehlig@suse.com>
      f67bf6e9
    • K
      src/xenconfig: wrap common parsing code · 512f6738
      Kiarie Kahurani 提交于
      Wrap parsing code common to xm and xl in xenParseConfigCommon
      and export it.
      Signed-off-by: NKiarie Kahurani <davidkiarie4@gmail.com>
      Signed-off-by: NJim Fehlig <jfehlig@suse.com>
      512f6738
    • J
      xen: rename xenxs to xenconfig · 870c90c7
      Jim Fehlig 提交于
      src/xenxs contains parsing/formating functions for the various xen
      config formats, and is better named src/xenconfig.
      Signed-off-by: NJim Fehlig <jfehlig@suse.com>
      870c90c7
  2. 18 8月, 2014 9 次提交
  3. 15 8月, 2014 21 次提交