qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Igor Kovalenko" <igor.v.kovalenko@gmail.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] qemu qemu-doc.texi vl.c vl.h hw/pc.c hw/sun4m.c
Date: Wed, 10 Jan 2007 00:29:45 +0300	[thread overview]
Message-ID: <b2fa41d60701091329r1ecfd99dr16377e6f743ec67b@mail.gmail.com> (raw)
In-Reply-To: <E1H3eqM-0003OC-GF@savannah.gnu.org>


[-- 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);

      reply	other threads:[~2007-01-09 21:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b2fa41d60701091329r1ecfd99dr16377e6f743ec67b@mail.gmail.com \
    --to=igor.v.kovalenko@gmail.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).