Mailinglist Archive: opensuse-commit (2092 mails)

< Previous Next >
commit qemu
  • From: root@xxxxxxxxxxxxxxx (h_root)
  • Date: Mon, 20 Aug 2007 17:39:33 +0200
  • Message-id: <20070820153933.9BDCC678331@xxxxxxxxxxxxxxx>

Hello community,

here is the log from the commit of package qemu
checked in at Mon Aug 20 17:39:33 CEST 2007.

--------
--- qemu/qemu.changes   2007-08-11 09:21:13.000000000 +0200
+++ /mounts/work_src_done/STABLE/qemu/qemu.changes      2007-08-20 11:06:53.000000000 +0200
@@ -1,0 +2,5 @@
+Mon Aug 20 11:05:39 CEST 2007 - agraf@xxxxxxx
+
+- fix ATAPI bug when using libata (Brandon Philips)  (#291775)
+
+-------------------------------------------------------------------

New:
----
  qemu-cvs-atapi.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ qemu.spec ++++++
--- /var/tmp/diff_new_pack.S30418/_old  2007-08-20 17:38:50.000000000 +0200
+++ /var/tmp/diff_new_pack.S30418/_new  2007-08-20 17:38:50.000000000 +0200
@@ -17,7 +17,7 @@
 Group:          System/Emulators/PC
 Summary:        Universal CPU emulator
 Version:        0.9.0.cvs
-Release:        17
+Release:        21
 Source:         %name-%version.tar.bz2
 #Patch400: qemu-0.7.0-gcc4-dot-syms.patch
 #Patch401: qemu-0.8.0-gcc4-hacks.patch
@@ -58,6 +58,7 @@
 Patch69:        qemu-cvs-ia64.patch
 Patch70:        qemu-m68k.diff
 Patch71:        qemu-s390.patch
+Patch72:        qemu-cvs-atapi.patch
 Source200:      kvm_bios.bin
 Source201:      zx-rom.bin
 Source202:      COPYING.zx-rom
@@ -157,6 +158,7 @@
 %patch69
 %patch70
 %patch71 -p1
+%patch72 -p1
 %ifarch ia64 ppc64
 #this is the dyngen for gcc4 patch (does not work on x86)
 %patch68 -p1
@@ -309,6 +311,8 @@
 %endif
 
 %changelog
+* Mon Aug 20 2007 - agraf@xxxxxxx
+- fix ATAPI bug when using libata (Brandon Philips)  (#291775)
 * Sat Aug 11 2007 - olh@xxxxxxx
 - disable only SNDRV_SB_CSP_IOCTL_LOAD_CODE for _IOC_SIZEBITS < 14
 * Thu Aug 09 2007 - olh@xxxxxxx



++++++ qemu-cvs-atapi.patch ++++++
Index: qemu-0.9.0/hw/ide.c
===================================================================
--- qemu-0.9.0.orig/hw/ide.c
+++ qemu-0.9.0/hw/ide.c
@@ -586,7 +586,9 @@ static void ide_transfer_start(IDEState 
     s->end_transfer_func = end_transfer_func;
     s->data_ptr = buf;
     s->data_end = buf + size;
-    s->status |= DRQ_STAT;
+    /* don't violate the HSM */
+    if (!(s->status & ERR_STAT))
+        s->status |= DRQ_STAT;
 }
 
 static void ide_transfer_stop(IDEState *s)
@@ -1805,6 +1807,7 @@ static void ide_ioport_write(void *opaqu
             /* overlapping commands not supported */
             if (s->feature & 0x02)
                 goto abort_cmd;
+            s->status = READY_STAT;
             s->atapi_dma = s->feature & 1;
             s->nsector = 1;
             ide_transfer_start(s, s->io_buffer, ATAPI_PACKET_SIZE, 





++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread