From: Anthony Liguori <aliguori@us.ibm.com>
To: "Hervé Poussineau" <hpoussin@reactos.org>,
"Paolo Bonzini" <pbonzini@redhat.com>
Cc: Blue Swirl <blauwirbel@gmail.com>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PULL 00/10] SCSI patches for 2012-08-03
Date: Fri, 03 Aug 2012 15:37:17 -0500 [thread overview]
Message-ID: <87k3xf3e6a.fsf@codemonkey.ws> (raw)
In-Reply-To: <501C3120.6080909@reactos.org>
Hervé Poussineau <hpoussin@reactos.org> writes:
> Paolo Bonzini a écrit :
>> Il 03/08/2012 21:27, Anthony Liguori ha scritto:
>>> On 08/03/2012 03:06 AM, Paolo Bonzini wrote:
>>>> Anthony,
>>>>
>>>> The following changes since commit
>>>> 5e3bc7144edd6e4fa2824944e5eb16c28197dd5a:
>>>>
>>>> Merge remote-tracking branch 'mst/tags/for_anthony' into staging
>>>> (2012-07-30 10:00:48 -0500)
>>>>
>>>> are available in the git repository at:
>>>>
>>>>
>>>> git://github.com/bonzini/qemu.git scsi-next
>>>>
>>>> for you to fetch changes up to b71760ef6180662cc2dff1f6cf673a53508c59f1:
>>>>
>>>> scsi: add support for ATA_PASSTHROUGH_xx scsi command (2012-08-03
>>>> 10:04:37 +0200)
>>>>
>>>> The main change here is re-enabling megasas, but there's also Herve's
>>>> retro HBA and a couple of random fixes.
>>> CC sparc-softmmu/target-sparc/mmu_helper.o
>>> CC sparc-softmmu/target-sparc/ldst_helper.o
>>> CC sparc-softmmu/target-sparc/int32_helper.o
>>> LINK sparc-softmmu/qemu-system-sparc
>>> ../libhw64/hw/esp.o: In function `dc390_read_config':
>>> /home/anthony/git/qemu/hw/esp.c:1220: undefined reference to
>>> `pci_default_read_config'
>>> ../libhw64/hw/esp.o: In function `dc390_write_config':
>>> /home/anthony/git/qemu/hw/esp.c:1245: undefined reference to
>>> `pci_default_write_config'
>>> collect2: ld returned 1 exit status
>>> make[1]: *** [qemu-system-sparc] Error 1
>>> make: *** [subdir-sparc-softmmu] Error 2
>>>
>>> It looks like sparc does link in esp.c but doesn't support pci (at least
>>> pci.o). I must admit, it's not obvious to me whether pci.o should be
>>> added to the sparc build or whether esp.c needs to be refactored.
>>
>> I think the latter.
>>
>> I removed this patch and pushed the rest (commit e4b6526) at the same
>> location. Blue/Herve, can you look at esp.c?
>
> I just sent an email to ML to add stubs for pci_default_read_config and
> pci_default_write_config. I compile-tested sparc-softmmu target and it
> works now well.
Shouldn't Sparc consume pci.o?
If Sparc doesn't have PCI, then stubs don't seem like the right answer.
If it has PCI, then it ought to use the generic code, no?
Regards,
Anthony Liguori
>
> Hervé
>
> [1]
next prev parent reply other threads:[~2012-08-03 20:39 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-03 8:06 [Qemu-devel] [PULL 00/10] SCSI patches for 2012-08-03 Paolo Bonzini
2012-08-03 8:06 ` [Qemu-devel] [PATCH 01/10] SCSI: Update the sense code for PREVENT REMOVAL errors Paolo Bonzini
2012-08-03 8:06 ` [Qemu-devel] [PATCH 02/10] SCSI: STARTSTOPUNIT only eject/load media if powercondition is 0 Paolo Bonzini
2012-08-03 8:06 ` [Qemu-devel] [PATCH 03/10] megasas: Update function megasys_scsi_uninit Paolo Bonzini
2012-08-03 8:06 ` [Qemu-devel] [PATCH 04/10] scsi-disk: fix compilation with DEBUG_SCSI Paolo Bonzini
2012-08-03 8:06 ` [Qemu-devel] [PATCH 05/10] megasas: static SAS addresses Paolo Bonzini
2012-08-03 8:06 ` [Qemu-devel] [PATCH 06/10] Revert "megasas: disable due to build breakage" Paolo Bonzini
2012-08-03 8:06 ` [Qemu-devel] [PATCH 07/10] esp: enable for all PCI machines Paolo Bonzini
2012-08-03 8:06 ` [Qemu-devel] [PATCH 08/10] esp: add missing const on TypeInfo structures Paolo Bonzini
2012-08-03 8:06 ` [Qemu-devel] [PATCH 09/10] esp: add Tekram DC-390 emulation (PC SCSI adapter) Paolo Bonzini
2012-08-03 8:06 ` [Qemu-devel] [PATCH 10/10] scsi: add support for ATA_PASSTHROUGH_xx scsi command Paolo Bonzini
2012-08-03 19:27 ` [Qemu-devel] [PULL 00/10] SCSI patches for 2012-08-03 Anthony Liguori
2012-08-03 19:56 ` Paolo Bonzini
2012-08-03 20:04 ` Anthony Liguori
2012-08-03 20:14 ` Hervé Poussineau
2012-08-03 20:37 ` Anthony Liguori [this message]
2012-08-03 20:59 ` Blue Swirl
2012-08-03 21:43 ` Anthony Liguori
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=87k3xf3e6a.fsf@codemonkey.ws \
--to=aliguori@us.ibm.com \
--cc=blauwirbel@gmail.com \
--cc=hpoussin@reactos.org \
--cc=pbonzini@redhat.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).