[Qemu-devel] [PULL 0/1] pc: bugfix

Michael S. Tsirkin posted 1 patch 6 years ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/1524234528-373013-1-git-send-email-mst@redhat.com
Test checkpatch passed
Test docker-build@min-glib passed
Test docker-mingw@fedora passed
Test s390x passed
hw/i386/intel_iommu.c | 42 ++++++++++++++++++++++++++++++------------
1 file changed, 30 insertions(+), 12 deletions(-)
[Qemu-devel] [PULL 0/1] pc: bugfix
Posted by Michael S. Tsirkin 6 years ago
The following changes since commit 27e757e29cc79f3f104d2a84d17cdb3b4c11c8ff:

  Update version for v2.12.0-rc4 release (2018-04-17 22:26:44 +0100)

are available in the git repository at:

  git://git.kernel.org/pub/scm/virt/kvm/mst/qemu.git tags/for_upstream

for you to fetch changes up to f256f05c94d12eed2c1a0e9b6ed4fb1fb9d8ec72:

  intel-iommu: send PSI always when notify_unmap set (2018-04-20 17:26:23 +0300)

----------------------------------------------------------------
pc: bugfix

Adds missing invalidations in vtd.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>

----------------------------------------------------------------
Peter Xu (1):
      intel-iommu: send PSI always when notify_unmap set

 hw/i386/intel_iommu.c | 42 ++++++++++++++++++++++++++++++------------
 1 file changed, 30 insertions(+), 12 deletions(-)


Re: [Qemu-devel] [PULL 0/1] pc: bugfix
Posted by Peter Maydell 6 years ago
On 20 April 2018 at 15:29, Michael S. Tsirkin <mst@redhat.com> wrote:
> The following changes since commit 27e757e29cc79f3f104d2a84d17cdb3b4c11c8ff:
>
>   Update version for v2.12.0-rc4 release (2018-04-17 22:26:44 +0100)
>
> are available in the git repository at:
>
>   git://git.kernel.org/pub/scm/virt/kvm/mst/qemu.git tags/for_upstream
>
> for you to fetch changes up to f256f05c94d12eed2c1a0e9b6ed4fb1fb9d8ec72:
>
>   intel-iommu: send PSI always when notify_unmap set (2018-04-20 17:26:23 +0300)
>
> ----------------------------------------------------------------
> pc: bugfix
>
> Adds missing invalidations in vtd.
>
> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
>
> ----------------------------------------------------------------
> Peter Xu (1):
>       intel-iommu: send PSI always when notify_unmap set

You really can't send me a pull request at rc4 and expect
me to apply it without a very clear and detailed rationale
in the cover letter for why this bug fix justifies having
to roll an extra rc and delay the release. "bugfix" is
not sufficient, I'm afraid.

thanks
-- PMM

Re: [Qemu-devel] [PULL 0/1] pc: bugfix
Posted by Michael S. Tsirkin 6 years ago
On Fri, Apr 20, 2018 at 03:55:31PM +0100, Peter Maydell wrote:
> On 20 April 2018 at 15:29, Michael S. Tsirkin <mst@redhat.com> wrote:
> > The following changes since commit 27e757e29cc79f3f104d2a84d17cdb3b4c11c8ff:
> >
> >   Update version for v2.12.0-rc4 release (2018-04-17 22:26:44 +0100)
> >
> > are available in the git repository at:
> >
> >   git://git.kernel.org/pub/scm/virt/kvm/mst/qemu.git tags/for_upstream
> >
> > for you to fetch changes up to f256f05c94d12eed2c1a0e9b6ed4fb1fb9d8ec72:
> >
> >   intel-iommu: send PSI always when notify_unmap set (2018-04-20 17:26:23 +0300)
> >
> > ----------------------------------------------------------------
> > pc: bugfix
> >
> > Adds missing invalidations in vtd.
> >
> > Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
> >
> > ----------------------------------------------------------------
> > Peter Xu (1):
> >       intel-iommu: send PSI always when notify_unmap set
> 
> You really can't send me a pull request at rc4 and expect
> me to apply it without a very clear and detailed rationale
> in the cover letter for why this bug fix justifies having
> to roll an extra rc and delay the release. "bugfix" is
> not sufficient, I'm afraid.
> 
> thanks
> -- PMM

Right, sorry about that.  It fixes a security problem unfortunately.
Would you like me to redo it with a more detailed description?

-- 
MST

Re: [Qemu-devel] [PULL 0/1] pc: bugfix
Posted by Peter Maydell 6 years ago
On 20 April 2018 at 16:06, Michael S. Tsirkin <mst@redhat.com> wrote:
> On Fri, Apr 20, 2018 at 03:55:31PM +0100, Peter Maydell wrote:
>> On 20 April 2018 at 15:29, Michael S. Tsirkin <mst@redhat.com> wrote:
>> > The following changes since commit 27e757e29cc79f3f104d2a84d17cdb3b4c11c8ff:
>> >
>> >   Update version for v2.12.0-rc4 release (2018-04-17 22:26:44 +0100)
>> >
>> > are available in the git repository at:
>> >
>> >   git://git.kernel.org/pub/scm/virt/kvm/mst/qemu.git tags/for_upstream
>> >
>> > for you to fetch changes up to f256f05c94d12eed2c1a0e9b6ed4fb1fb9d8ec72:
>> >
>> >   intel-iommu: send PSI always when notify_unmap set (2018-04-20 17:26:23 +0300)
>> >
>> > ----------------------------------------------------------------
>> > pc: bugfix
>> >
>> > Adds missing invalidations in vtd.
>> >
>> > Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
>> >
>> > ----------------------------------------------------------------
>> > Peter Xu (1):
>> >       intel-iommu: send PSI always when notify_unmap set
>>
>> You really can't send me a pull request at rc4 and expect
>> me to apply it without a very clear and detailed rationale
>> in the cover letter for why this bug fix justifies having
>> to roll an extra rc and delay the release. "bugfix" is
>> not sufficient, I'm afraid.

> Right, sorry about that.  It fixes a security problem unfortunately.
> Would you like me to redo it with a more detailed description?

Would be nice. The commit message as it sounds certainly
doesn't sound like a security problem. Does this have a CVE?
If so the commit message should state it. Should it be cc:stable?
Is it a regression since 2.11? What exactly are the consequences
and who does it affect?

It's probably easier if you explain in email here first, and
then we can redo the commit message if it seems necessary.

thanks
-- PMM