From: Alexey Kardashevskiy <aik@ozlabs.ru>
To: Alexander Graf <agraf@suse.de>
Cc: "qemu-ppc@nongnu.org" <qemu-ppc@nongnu.org>,
"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
David Gibson <david@gibson.dropbear.id.au>
Subject: Re: [Qemu-devel] [PATCH 2/3] ppc64-softmmu: Remove unsupported FDC from config
Date: Tue, 10 Mar 2015 20:20:10 +1100 [thread overview]
Message-ID: <54FEB74A.2040303@ozlabs.ru> (raw)
In-Reply-To: <8282DDFC-BD52-4C37-8B8F-E58A241CDA43@suse.de>
On 03/10/2015 04:38 PM, Alexander Graf wrote:
>
>
>
>> Am 09.03.2015 um 23:44 schrieb Alexey Kardashevskiy <aik@ozlabs.ru>:
>>
>>> On 03/10/2015 02:58 PM, David Gibson wrote:
>>>> On Tue, Mar 10, 2015 at 02:52:48PM +1100, Alexey Kardashevskiy wrote:
>>>>> On 03/10/2015 01:39 AM, Alexey Kardashevskiy wrote:
>>>>>> On 03/09/2015 11:31 PM, Alexander Graf wrote:
>>>>>>
>>>>>>
>>>>>>> On 02.03.15 00:46, Alexey Kardashevskiy wrote:
>>>>>>> This removes floppy disks support as it is not supported by any PPC64
>>>>>>> system anyway as the only way to have floppy disk on such systems would
>>>>>>> be an ISA bus and Linux kernels seems have never had such support.
>>>>>>>
>>>>>>> Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
>>>>>>
>>>>>> I removed this patch from my queue again. The ppc64-softmmu target can
>>>>>> execute -M PReP which in turn uses the fdc.
>>>>>
>>>>>
>>>>> Out of curiosity - do you have actual 64bit guests being able to run on
>>>>> PReP? :) Current Linux ditched its support...
>>>>
>>>>
>>>> Paul suggested that there has never ever been a 64bit PReP CPU so there is
>>>> no point in emulating it in QEMU. Or there is some reason for that?
>>>
>>> IIUC, qemu-system-ppc64 (roughly speaking) emulates a superset of what
>>> qemu-system-ppc does, not a different set of hardware.
>>
>> Well, default-configs/ppc-softmmu.mak does not include default-configs/ppc64-softmmu.mak or vice versa so I would say these are pretty independent and I would simply remove CONFIG_PREP* from default-configs/ppc64-softmmu.mak.
>
> Convention so far has been that ppc64 includes ppc includes ppcemb. I don't see why we should break that assumption.
[aik@vpl2 ~]$ ./qemu-system-ppc64 -device help 2>&1 | grep fdc
name "isa-fdc", bus ISA
name "sysbus-fdc", bus System
afaik there is no way to get "fdc" working with qemu-system-ppc64 but
"-device help" suggests there is a way and libvirt thinks (the original
request came from there) it can add floppy disk. If later we use "-fda"
with QEMU, it will warn about "Orphaned drive" as there is no fdc device.
Ok, I can be sneakier and add "-device i82378" but I wonder if there is a
PPC64 guest with FDC driver enabled. When I try to enable it in the current
upstream (or anything since 2010), it needs ISA which depends on CHRP
(about to be ditched, and PReP is ditched already) which depends on 6xx
which is not defined at all (PPC_6xx is but not 6xx).
So if you know how to get working floppy disk with qemu-system-ppc64, that
would help me a lot in rejecting requests from libvirt folks :) Thanks :)
> However I do agree that we should probably reflect it with includes in the mak files.
>
>
> Alex
>
>>
>>
>> --
>> Alexey
--
Alexey
next prev parent reply other threads:[~2015-03-10 9:20 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-02 6:46 [Qemu-devel] [PATCH 0/3] ppc64-softmmu: default config cleanups Alexey Kardashevskiy
2015-03-02 6:46 ` [Qemu-devel] [PATCH 1/3] Revert "default-configs/ppc64: add all components of i82378 SuperIO chip used by prep" Alexey Kardashevskiy
2015-03-02 7:06 ` David Gibson
2015-03-02 6:46 ` [Qemu-devel] [PATCH 2/3] ppc64-softmmu: Remove unsupported FDC from config Alexey Kardashevskiy
2015-03-02 7:07 ` David Gibson
2015-03-09 12:31 ` Alexander Graf
2015-03-09 14:39 ` Alexey Kardashevskiy
2015-03-10 3:52 ` Alexey Kardashevskiy
2015-03-10 3:58 ` David Gibson
2015-03-10 4:44 ` Alexey Kardashevskiy
2015-03-10 5:38 ` Alexander Graf
2015-03-10 9:20 ` Alexey Kardashevskiy [this message]
2015-03-11 11:27 ` Alexander Graf
2015-03-23 19:18 ` Maciej W. Rozycki
2015-03-02 6:46 ` [Qemu-devel] [PATCH 3/3] ppc64-softmmu: Remove duplicated OPENPIC " Alexey Kardashevskiy
2015-03-02 7:07 ` David Gibson
2015-03-02 13:33 ` [Qemu-devel] [PATCH 0/3] ppc64-softmmu: default config cleanups Alexander Graf
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=54FEB74A.2040303@ozlabs.ru \
--to=aik@ozlabs.ru \
--cc=agraf@suse.de \
--cc=david@gibson.dropbear.id.au \
--cc=qemu-devel@nongnu.org \
--cc=qemu-ppc@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).