1. 21 11月, 2008 3 次提交
  2. 19 11月, 2008 2 次提交
  3. 14 11月, 2008 2 次提交
  4. 13 11月, 2008 2 次提交
    • B
      Don't use "hz" in identifiers to make AIX happy. · b0f74c87
      balrog 提交于
      malc found AIX headers leak "hz" and so it can't be used there.  Change
      the occurences in hw/.
      
      
      git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5709 c046a42c-6fe2-441c-8c8c-71466251a162
      b0f74c87
    • B
      Implement LSI53C895A quirks exposed by OpenServer (Justin Chevrier). · 9167a69a
      balrog 提交于
      After going through the debug log and scratching my head for quite some
      time. I found the following:
      
      The problem was with this block move:
      
      lsi_scsi: SCRIPTS dsp=0fae8e50 opcode 01000028 arg 00f63c40
      lsi_scsi: DMA addr=0x00f63c40 len=36
      
      The number of bytes to be transferred (len) should be 40 which corresponds
      to the block transfer of length 0x28 (from opcode 01000028). Instead we
      have a length of 36 (0x24). The code responsible for this is (in
      'lsi_do_dma'):
      
      if (count > s->current_dma_len)
         count = s->current_dma_len;
      
      Basically we're overwriting the length 40 with the value 36 which I
      think we just left over in that variable from an earlier transfer. In my
      patch below I initialize s->current_dma_len to s->dbc before we begin
      the DMA transfer during Data In phase.
      
      The attached patch gets Openserver 5.0.5 past the hardware detection
      (and it lists the hard drive to boot, woohoo). It appears to stop a
      little while later (doesn't seem SCSI related), but it's been so long since
      I've booted Openserver I'm not sure what's supposted to happen after the HW
      detection using the boot/root disks.
      
      Props go to Craig Ringer for the initial post and the code that he posted
      some of which is in this patch.
      
      
      git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5706 c046a42c-6fe2-441c-8c8c-71466251a162
      9167a69a
  5. 12 11月, 2008 3 次提交
  6. 11 11月, 2008 3 次提交
  7. 09 11月, 2008 4 次提交
  8. 08 11月, 2008 1 次提交
  9. 06 11月, 2008 3 次提交
    • B
      SM501 emulation for R2D-SH4 · ffd39257
      blueswir1 提交于
      This patch adds minimum emulation of SM501 multifunction device,
      whose main feature is 2D graphics.  It is one of the peripheral
      of R2D, the SH4 evaluation board.  We can see TUX printed on the
      QEMU console.
      Signed-off-by: NShin-ichiro KAWASAKI <kawasaki@juno.dti.ne.jp>
      
      
      git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5632 c046a42c-6fe2-441c-8c8c-71466251a162
      ffd39257
    • B
      Use qemu_ram_alloc · 5c6602c5
      blueswir1 提交于
      git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5630 c046a42c-6fe2-441c-8c8c-71466251a162
      5c6602c5
    • A
      Add KVM support to QEMU · 7ba1e619
      aliguori 提交于
      This patch adds very basic KVM support.  KVM is a kernel module for Linux that
      allows userspace programs to make use of hardware virtualization support.  It
      current supports x86 hardware virtualization using Intel VT-x or AMD-V.  It
      also supports IA64 VT-i, PPC 440, and S390.
      
      This patch only implements the bare minimum support to get a guest booting.  It
      has very little impact the rest of QEMU and attempts to integrate nicely with
      the rest of QEMU.
      
      Even though this implementation is basic, it is significantly faster than TCG.
      Booting and shutting down a Linux guest:
      
      w/TCG:  1:32.36 elapsed  84% CPU
      
      w/KVM:  0:31.14 elapsed  59% CPU
      
      Right now, KVM is disabled by default and must be explicitly enabled with
       -enable-kvm.  We can enable it by default later when we have had better
      testing.
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      
      
      
      git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5627 c046a42c-6fe2-441c-8c8c-71466251a162
      7ba1e619
  10. 05 11月, 2008 2 次提交
  11. 04 11月, 2008 7 次提交
  12. 03 11月, 2008 2 次提交
  13. 02 11月, 2008 2 次提交
  14. 01 11月, 2008 4 次提交
    • A
      CVE-2008-4539: fix a heap overflow in Cirrus emulation · 65d35a09
      aurel32 提交于
      The code in hw/cirrus_vga.c has changed a lot between CVE-2007-1320 has
      been announced and the patch has been applied. As a consequence it has
      wrongly applied and QEMU is still vulnerable to this bug if using VNC.
      
      (noticed by Jan Niehusmann)
      Signed-off-by: NAurelien Jarno <aurelien@aurel32.net>
      
      git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5587 c046a42c-6fe2-441c-8c8c-71466251a162
      65d35a09
    • A
      Malta & OMAP: add a name to char devices · 7cc0dd20
      aurel32 提交于
      (fixes regression introduced by r5575)
      Signed-off-by: NAurelien Jarno <aurelien@aurel32.net>
      
      git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5585 c046a42c-6fe2-441c-8c8c-71466251a162
      7cc0dd20
    • A
      Implement "info chardev" command. (Gerd Hoffmann) · 5ccfae10
      aliguori 提交于
      This patch makes qemu keep track of the character devices in use and
      implements a "info chardev" monitor command to print a list.
      
      qemu_chr_open() sticks the devices into a linked list now.  It got a new
      argument (label), so there is a name for each device.  It also assigns a
      filename to each character device.  By default it just copyes the
      filename passed in.  Individual drivers can fill in something else
      though.  qemu_chr_open_pty() sets the filename to name of the pseudo tty
      allocated.
      
      Output looks like this:
      
        (qemu) info chardev
        monitor: filename=unix:/tmp/run.sh-26827/monitor,server,nowait
        serial0: filename=unix:/tmp/run.sh-26827/console,server
        serial1: filename=pty:/dev/pts/5
        parallel0: filename=vc:640x480
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      
      
      
      git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5575 c046a42c-6fe2-441c-8c8c-71466251a162
      5ccfae10
    • A
      Make DMA bottom-half driven (v2) · 492c30af
      aliguori 提交于
      The current DMA routines are driven by a call in main_loop_wait() after every
      select.
      
      This patch converts the DMA code to be driven by a constantly rescheduled
      bottom half.  The advantage of using a scheduled bottom half is that we can
      stop scheduling the bottom half when there no DMA channels are runnable.  This
      means we can potentially detect this case and sleep longer in the main loop.
      
      The only two architectures implementing DMA_run() are cris and i386.  For cris,
      I converted it to a simple repeating bottom half.  I've only compile tested
      this as cris does not seem to work on a 64-bit host.  It should be functionally
      identical to the previous implementation so I expect it to work.
      
      For x86, I've made sure to only fire the DMA bottom half if there is a DMA
      channel that is runnable.  The effect of this is that unless you're using sb16
      or a floppy disk, the DMA bottom half never fires.
      
      You probably should test this malc.  My own benchmarks actually show slight
      improvement by it's possible the change in timing could affect your demos.
      
      Since v1, I've changed the code to use a BH instead of a timer.  cris at least
      seems to depend on faster than 10ms polling.
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      
      
      
      git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5573 c046a42c-6fe2-441c-8c8c-71466251a162
      492c30af