Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 161883 Details for
Bug 253542
Would be good to get ATAPI fix from qemu CVS into released packages
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
fix committed to upstream qemu
qemu-atapi-hsm.patch (text/plain), 1.72 KB, created by
Jeremy Katz
on 2007-08-20 14:42:50 UTC
(
hide
)
Description:
fix committed to upstream qemu
Filename:
MIME Type:
Creator:
Jeremy Katz
Created:
2007-08-20 14:42:50 UTC
Size:
1.72 KB
patch
obsolete
>From: Brandon Philips <brandon@ifup.org> >Newsgroups: gmane.comp.emulators.qemu >Subject: [PATCH][RFC] Fix bugs in the ATAPI cdrom driver >Date: Fri, 17 Aug 2007 16:43:04 -0700 >Message-ID: <20070817234304.GB10490@ifup.org> >Reply-To: qemu-devel@nongnu.org > >The new libata-eh in the Linux kernel is throwing a fit over the QEMU >cdrom device for two reasons: > >1) DRQ can be set with ERR_STAT set. This is a violation of the ATAPI >state machine. > >2) After a TEST_UNIT_READY ATAPI command is sent ERR_STAT is getting set >which is correct. But, when the OS issues another ATAPI command >ERR_STAT is still set. Which is bad since the next expected command >from the OS is REQUEST_SENSE to find out why ERR_STAT is set. > >bug this fixes: https://bugzilla.novell.com/show_bug.cgi?id=291775 > >Signed-off-by: Brandon Philips <bphilips@suse.de> > >--- > hw/ide.c | 7 +++++-- > 1 file changed, 5 insertions(+), 2 deletions(-) > >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, > > >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 253542
: 161883