1. 04 6月, 2015 2 次提交
    • S
      check if console/channel PTY is null before attempting to open · eac9445e
      Shivaprasad G Bhat 提交于
      Console/channel devices have their pty devices assigned when the emulator is
      actually started. If time is spent in guest preparation, someone attempts
      to open the console/channel, the libvirt crashes in virChrdevLockFilePath().
      The patch attempts to fix the crash by adding a check before attempting to
      open.
      Signed-off-by: NShivaprasad G Bhat <sbhat@linux.vnet.ibm.com>
      eac9445e
    • L
      virnetdev: fix moving of 802.11 phys · 81b19ce4
      Lubomir Rintel 提交于
      There was a couple of problems with the style fixes applied to the original
      patch:
      
      1.) virFileReadAllQuiet comparison was incorrectly parenthesized when moved
      into a condition, causing the len to be set to the result of comparison. This,
      together with the removed underflow check would underflow the phy buffer.
      
      2.) The logic was broken. Failure to call "ip" would abort the function, thus
      the "iw" branch would never be reached.
      
      This aims to fix the issues and work around possible style complains :)
      Signed-off-by: NLubomir Rintel <lkundrak@v3.sk>
      81b19ce4
  2. 03 6月, 2015 33 次提交
  3. 02 6月, 2015 5 次提交