1. 04 6月, 2015 6 次提交
    • P
      qemu: process: Update current balloon state to maximum on vm startup · 641a145d
      Peter Krempa 提交于
      After libvirt issues the balloon resize command, the current balloon
      size needs to be changed to the maximum memory size since the vCPUs were
      not started and thus the balloon driver could not return the memory.
      
      Since GetXMLDesc and other APIs return the balloon size without updating
      it in case they are not able to obtain the job and the memory balloon
      does not support the asynchronous event the sizing might be incorrect.
      641a145d
    • J
      Always add 'console' matching the 'serial' device · 8728a78e
      Ján Tomko 提交于
      We have been formatting the first serial device also
      as a console device, but only if there were no other consoles.
      
      If there is a <serial> device present in the XML, but no serial
      <console>, or if there isn't any <console> at all but the domain
      definition hasn't gone through a parse->format->parse round-trip,
      the <console> device would not be formatted.
      
      Change the code to always add the stub device for the first
      serial device.
      
      Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1089914
      8728a78e
    • J
      maint: remove incorrect apostrophes from 'its' · 12b949df
      Ján Tomko 提交于
      12b949df
    • J
      docs: php: remove reference to Red Hat · 22cdbec0
      Ján Tomko 提交于
      Also remove the redudant apostrophe from "it's".
      22cdbec0
    • 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 1 次提交