qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] qemu qemu-doc.texi vl.c vl.h hw/pc.c hw/sun4m.c
@ 2007-01-07 20:42 Thiemo Seufer
  2007-01-09 21:29 ` Igor Kovalenko
  0 siblings, 1 reply; 2+ messages in thread
From: Thiemo Seufer @ 2007-01-07 20:42 UTC (permalink / raw)
  To: qemu-devel

CVSROOT:	/sources/qemu
Module name:	qemu
Changes by:	Thiemo Seufer <ths>	07/01/07 20:42:14

Modified files:
	.              : qemu-doc.texi vl.c vl.h 
	hw             : pc.c sun4m.c 

Log message:
	Revert -disk patch, as requested by Fabrice. The general idea of this
	patch is sound, but the implementation is just too ugly.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/qemu-doc.texi?cvsroot=qemu&r1=1.120&r2=1.121
http://cvs.savannah.gnu.org/viewcvs/qemu/vl.c?cvsroot=qemu&r1=1.233&r2=1.234
http://cvs.savannah.gnu.org/viewcvs/qemu/vl.h?cvsroot=qemu&r1=1.165&r2=1.166
http://cvs.savannah.gnu.org/viewcvs/qemu/hw/pc.c?cvsroot=qemu&r1=1.65&r2=1.66
http://cvs.savannah.gnu.org/viewcvs/qemu/hw/sun4m.c?cvsroot=qemu&r1=1.22&r2=1.23

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Qemu-devel] qemu qemu-doc.texi vl.c vl.h hw/pc.c hw/sun4m.c
  2007-01-07 20:42 [Qemu-devel] qemu qemu-doc.texi vl.c vl.h hw/pc.c hw/sun4m.c Thiemo Seufer
@ 2007-01-09 21:29 ` Igor Kovalenko
  0 siblings, 0 replies; 2+ messages in thread
From: Igor Kovalenko @ 2007-01-09 21:29 UTC (permalink / raw)
  To: qemu-devel


[-- Attachment #1.1: Type: text/plain, Size: 1185 bytes --]

On 1/7/07, Thiemo Seufer <ths@networkno.de> wrote:
>
> CVSROOT:        /sources/qemu
> Module name:    qemu
> Changes by:     Thiemo Seufer <ths>     07/01/07 20:42:14
>
> Modified files:
>         .              : qemu-doc.texi vl.c vl.h
>         hw             : pc.c sun4m.c
>
> Log message:
>         Revert -disk patch, as requested by Fabrice. The general idea of
> this
>         patch is sound, but the implementation is just too ugly.
>
> CVSWeb URLs:
>
> http://cvs.savannah.gnu.org/viewcvs/qemu/qemu-doc.texi?cvsroot=qemu&r1=1.120&r2=1.121
>
> http://cvs.savannah.gnu.org/viewcvs/qemu/vl.c?cvsroot=qemu&r1=1.233&r2=1.234
>
> http://cvs.savannah.gnu.org/viewcvs/qemu/vl.h?cvsroot=qemu&r1=1.165&r2=1.166
>
> http://cvs.savannah.gnu.org/viewcvs/qemu/hw/pc.c?cvsroot=qemu&r1=1.65&r2=1.66
>
> http://cvs.savannah.gnu.org/viewcvs/qemu/hw/sun4m.c?cvsroot=qemu&r1=1.22&r2=1.23
>
>
> _______________________________________________
> Qemu-devel mailing list
> Qemu-devel@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/qemu-devel
>

That sun4m.c change breaks disk/cdrom attachment to esp scsi.
Please see the patch to make it work again.

-- 
Kind regards,
Igor V. Kovalenko

[-- Attachment #1.2: Type: text/html, Size: 2551 bytes --]

[-- Attachment #2: sun4u-esp-scsi-attach.patch --]
[-- Type: text/x-patch, Size: 821 bytes --]

Index: hw/sun4m.c
===================================================================
RCS file: /cvsroot/qemu/qemu/hw/sun4m.c,v
retrieving revision 1.23
diff -u -r1.23 sun4m.c
--- hw/sun4m.c	7 Jan 2007 20:42:14 -0000	1.23
+++ hw/sun4m.c	9 Jan 2007 21:23:53 -0000
@@ -262,6 +262,13 @@
     slavio_serial_init(PHYS_JJ_SER, PHYS_JJ_SER_IRQ, serial_hds[1], serial_hds[0]);
     fdctrl_init(PHYS_JJ_FLOPPY_IRQ, 0, 1, PHYS_JJ_FDC, fd_table);
     main_esp = esp_init(bs_table, PHYS_JJ_ESP, dma);
+
+    for (i = 0; i < MAX_DISKS; i++) {
+        if (bs_table[i]) {
+            esp_scsi_attach(main_esp, bs_table[i], i);
+        }
+    }
+
     slavio_misc = slavio_misc_init(PHYS_JJ_SLAVIO, PHYS_JJ_ME_IRQ);
     cs_init(PHYS_JJ_CS, PHYS_JJ_CS_IRQ, slavio_intctl);
     sparc32_dma_set_reset_data(dma, main_esp, main_lance);

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-01-09 21:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-07 20:42 [Qemu-devel] qemu qemu-doc.texi vl.c vl.h hw/pc.c hw/sun4m.c Thiemo Seufer
2007-01-09 21:29 ` Igor Kovalenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).