1. 07 6月, 2016 1 次提交
  2. 16 2月, 2016 1 次提交
  3. 18 2月, 2014 1 次提交
  4. 19 11月, 2013 1 次提交
    • A
      qtest: Use -display none by default · 2ad645d2
      Andreas Färber 提交于
      This avoids each test needing to add it to suppress windows popping up.
      
      [Commit 7ceeedd0 ("blockdev-test: add
      test case for drive_add duplicate IDs") and commit
      43cd2098 ("qdev-monitor-test: add
      device_add leak test cases") added qtest tests without specifying
      -display none.
      
      As a result, "make check" now tries to use graphics (GTK or SDL).  Since
      graphics are not used by the test and inappropriate for headless "make
      check" runs, add the missing -display none.
      
      This fixes "make check" in the QEMU buildbot.
      -- Stefan]
      Signed-off-by: NAndreas Färber <afaerber@suse.de>
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      2ad645d2
  5. 09 4月, 2013 1 次提交
    • P
      hw: move headers to include/ · 0d09e41a
      Paolo Bonzini 提交于
      Many of these should be cleaned up with proper qdev-/QOM-ification.
      Right now there are many catch-all headers in include/hw/ARCH depending
      on cpu.h, and this makes it necessary to compile these files per-target.
      However, fixing this does not belong in these patches.
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      0d09e41a
  6. 08 3月, 2013 1 次提交
  7. 19 2月, 2013 2 次提交
  8. 30 1月, 2013 1 次提交
  9. 10 1月, 2013 1 次提交
  10. 28 11月, 2012 1 次提交
    • A
      rtc: Only call rtc_set_cmos when Register B SET flag is disabled. · 02c6ccc6
      Alex Horn 提交于
      This bug occurs when the SET flag of Register B is enabled. When an RTC
      data register (i.e. any of the ten time/calender CMOS bytes) is set, the
      data is (as expected) correctly stored in the cmos_data array. However,
      since the SET flag is enabled, the function rtc_set_time is not invoked.
      As a result, the field base_rtc in RTCState remains uninitialized. This
      causes a problem on subsequent writes which can end up overwriting data.
      To see this, consider writing data to Register A after having written
      data to any of the RTC data registers; the following figure illustrates
      the call stack for the Register A write operation:
      
       +- cmos_io_port_write
       +-- check_update_timer
       +---- get_next_alarm
       +------ rtc_update_time
      
      In rtc_update_time, get_guest_rtc calculates the wrong time and
      overwrites the previously written RTC data register values.
      Signed-off-by: NAlex Horn <alex.horn@cs.ox.ac.uk>
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      02c6ccc6
  11. 05 10月, 2012 2 次提交
    • P
      rtc: implement century byte · b8994faf
      Paolo Bonzini 提交于
      Implement the century byte in the RTC emulation, and test that it works.
      This leads to some annoying compatibility code because we need to treat
      a value of 2000 for the base_year property as "use the century byte
      properly" (which would be a value of 0).
      
      The century byte will now be always-zero, rather than always-20,
      for the MIPS Magnum machine whose base_year is 1980.  Commit 42fc73a1
      (Support epoch of 1980 in RTC emulation for MIPS Magnum, 2009-01-24)
      correctly said:
      
          With an epoch of 1980 and a year of 2009, one could argue that [the
          century byte] should hold either 0, 1, 19 or 20.  NT 3.50 on MIPS
          does not read the century byte.
      
      so I picked the simplest and most sensible implementation which is to
      return 0 for 1980-2079, 1 for 2080-2179 and so on.
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      b8994faf
    • P
      rtc: fix overflow in mktimegm · b6db4aca
      Paolo Bonzini 提交于
      When setting a date in 1980, Linux is actually disregarding the century
      byte and setting the year to 2080.  This causes a year-2038 overflow
      in mktimegm.  Fix this by doing the days-to-seconds computation in
      64-bit math.
      Reported-by: NLucas Meneghel Rodrigues <lookkas@gmail.com>
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      b6db4aca
  12. 20 4月, 2012 1 次提交
  13. 31 3月, 2012 1 次提交
  14. 30 3月, 2012 1 次提交