From: Cornelia Huck <cohuck@redhat.com>
To: Christian Borntraeger <borntraeger@de.ibm.com>
Cc: Tony Krowiak <akrowiak@linux.ibm.com>,
Pierre Morel <pmorel@linux.ibm.com>,
David Hildenbrand <david@redhat.com>,
qemu-devel <qemu-devel@nongnu.org>,
Halil Pasic <pasic@linux.ibm.com>,
qemu-s390x <qemu-s390x@nongnu.org>,
Richard Henderson <rth@twiddle.net>
Subject: Re: [Qemu-devel] [PATCH] s390x/cpumodel: Set up CPU model for AQIC interception
Date: Mon, 8 Jul 2019 13:38:26 +0200 [thread overview]
Message-ID: <20190708133826.737cdd23.cohuck@redhat.com> (raw)
In-Reply-To: <20190705153249.12525-1-borntraeger@de.ibm.com>
On Fri, 5 Jul 2019 17:32:49 +0200
Christian Borntraeger <borntraeger@de.ibm.com> wrote:
> From: Pierre Morel <pmorel@linux.ibm.com>
>
> Let's add support for the AP-Queue interruption facility to the CPU
> model.
>
> The S390_FEAT_AP_QUEUE_INTERRUPT_CONTROL, CPU facility indicates
> whether the PQAP instruction with the AQIC command is available
> to the guest.
> This feature will be enabled only if the AP instructions are
> available on the linux host and AQIC facility is installed on
> the host.
>
> This feature must be turned on from userspace to intercept AP
> instructions on the KVM guest. The QEMU command line to turn
> this feature on looks something like this:
>
> qemu-system-s390x ... -cpu xxx,apqi=on ...
> or
> ... -cpu host
>
> Right now AP pass-through devices do not support migration,
> which means that we do not have to take care of migrating
> the interrupt data:
> virsh migrate apguest --live qemu+ssh://root@target.lan/system
> error: Requested operation is not valid: domain has assigned non-USB host devices
>
> Signed-off-by: Pierre Morel <pmorel@linux.ibm.com>
> Reviewed-by: Tony Krowiak <akrowiak@linux.ibm.com>
> Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
> Reviewed-by: Halil Pasic <pasic@linux.ibm.com>
> Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
> [rebase to newest qemu and fixup description]
> ---
> target/s390x/cpu_features_def.inc.h | 1 +
> target/s390x/cpu_models.c | 1 +
> target/s390x/gen-features.c | 1 +
> 3 files changed, 3 insertions(+)
While technically a tad late for 4.1, this is a small and
straightforward patch (that already had been on the list earlier), so I
went ahead and applied it.
prev parent reply other threads:[~2019-07-08 11:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-05 15:32 [Qemu-devel] [PATCH] s390x/cpumodel: Set up CPU model for AQIC interception Christian Borntraeger
2019-07-08 11:38 ` Cornelia Huck [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=20190708133826.737cdd23.cohuck@redhat.com \
--to=cohuck@redhat.com \
--cc=akrowiak@linux.ibm.com \
--cc=borntraeger@de.ibm.com \
--cc=david@redhat.com \
--cc=pasic@linux.ibm.com \
--cc=pmorel@linux.ibm.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-s390x@nongnu.org \
--cc=rth@twiddle.net \
/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).