1. 22 6月, 2016 33 次提交
  2. 21 6月, 2016 7 次提交
    • L
      conf: limit chassisNr, and busNr to a minimum value of 1, not 0 · df2fb9bf
      Laine Stump 提交于
      In the case of chassisNr (used to set chassis_nr of a pci-bridge
      controller), 0 is reserved for / used by the pci[e]-root bus. In the
      base of busNr, a value of 0 would mean that the root bus had no places
      available to plug in new buses, including the pxb itself (the
      documentation I wrote for pxb even noted the limit of busNr as 1.254).
      
      NB: oddly, the "chassis" attribute, which is used for pcie-root-port
      and pcie-switch-downstream-port *can* be set to 0, since it's the
      combination of {chassis, slot} that needs to be unique, not chassis by
      itself (and slot 0 of pcie-root is reserved, while pcie-*-port can use
      *only* slot 0).
      
      This resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1342962
      df2fb9bf
    • A
      f83ab972
    • J
      virsh migrate: Fix positional parameters · c61360e1
      Jiri Denemark 提交于
      Thanks to our smart option parser which automatically assigns positional
      parameters the following (previously working) command fails:
      
          virsh migrate test qemu+ssh://1.2.3.4/system tcp://1.2.3.4/
          error: invalid argument: Unsupported compression method
          'tcp://1.2.3.4/'
      
      We need to make sure new options are added at the end of the list rather
      than where they logically belong.
      
      Reported by Brian Rak.
      Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
      c61360e1
    • J
      Mark virsh-optparse as expensive · a1e1679c
      Ján Tomko 提交于
      a1e1679c
    • J
      Drop virrandomtest · 031b477b
      Ján Tomko 提交于
      This test only checks if mocking of virRandomBytes works correctly.
      
      Drop it to avoid infinite recursion by testing the test suite.
      031b477b
    • J
      Remove virsh-synopsis · 79d3fc85
      Ján Tomko 提交于
      This tests checks that the first word after SYNOPSIS
      in virsh help ${command} output is ${command}.
      
      This was only good to check that the command option structures
      are valid, which is now served by 'virsh self-test'.
      79d3fc85
    • J
      Introduce virsh self-test · 920ab8bd
      Ján Tomko 提交于
      A new hidden command for virsh that will iterate over
      all command groups and commands and print help for every single one.
      
      This involves running vshCmddefOptParse so we can get an error if
      one of the command's option structure is invalid.
      920ab8bd