[PATCH 0/3] headers update and virtio-net fixup

Cornelia Huck posted 3 patches 5 years, 6 months ago
Test docker-mingw@fedora passed
Test docker-quick@centos7 passed
Test checkpatch passed
Test FreeBSD passed
Test asan passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20200427102415.10915-1-cohuck@redhat.com
Maintainers: Paolo Bonzini <pbonzini@redhat.com>, "Michael S. Tsirkin" <mst@redhat.com>, Cornelia Huck <cohuck@redhat.com>, Jason Wang <jasowang@redhat.com>
hw/net/virtio-net.c                           |   8 --
include/standard-headers/linux/ethtool.h      |  10 +-
.../linux/input-event-codes.h                 |   5 +-
include/standard-headers/linux/pci_regs.h     |   2 +
include/standard-headers/linux/vhost_types.h  |   8 ++
.../standard-headers/linux/virtio_balloon.h   |  12 ++-
include/standard-headers/linux/virtio_ids.h   |   1 +
include/standard-headers/linux/virtio_net.h   | 102 +++++++++++++++++-
linux-headers/COPYING                         |   2 +
linux-headers/asm-x86/kvm.h                   |   1 +
linux-headers/asm-x86/unistd_32.h             |   1 +
linux-headers/asm-x86/unistd_64.h             |   1 +
linux-headers/asm-x86/unistd_x32.h            |   1 +
linux-headers/linux/kvm.h                     |  47 +++++++-
linux-headers/linux/mman.h                    |   5 +-
linux-headers/linux/userfaultfd.h             |  40 +++++--
linux-headers/linux/vfio.h                    |  37 +++++++
linux-headers/linux/vhost.h                   |  24 +++++
18 files changed, 280 insertions(+), 27 deletions(-)
[PATCH 0/3] headers update and virtio-net fixup
Posted by Cornelia Huck 5 years, 6 months ago
This updates the headers to Linux 5.7-rc3. Doing so exposes
a problem in virtio-net (the #define for compat covers too much),
fix it.

Note 1: I'd like this to go through s390-next so that I can go
        ahead with protected virtualization, which needs a headers
        update.

Note 2: Why has the feature been merged in the first place without the
        kernel part being upstream yet?

Cornelia Huck (3):
  virtio-net: fix rsc_ext compat handling
  linux-headers: update against Linux 5.7-rc3
  virtio-net: remove VIRTIO_NET_HDR_F_RSC_INFO compat handling

 hw/net/virtio-net.c                           |   8 --
 include/standard-headers/linux/ethtool.h      |  10 +-
 .../linux/input-event-codes.h                 |   5 +-
 include/standard-headers/linux/pci_regs.h     |   2 +
 include/standard-headers/linux/vhost_types.h  |   8 ++
 .../standard-headers/linux/virtio_balloon.h   |  12 ++-
 include/standard-headers/linux/virtio_ids.h   |   1 +
 include/standard-headers/linux/virtio_net.h   | 102 +++++++++++++++++-
 linux-headers/COPYING                         |   2 +
 linux-headers/asm-x86/kvm.h                   |   1 +
 linux-headers/asm-x86/unistd_32.h             |   1 +
 linux-headers/asm-x86/unistd_64.h             |   1 +
 linux-headers/asm-x86/unistd_x32.h            |   1 +
 linux-headers/linux/kvm.h                     |  47 +++++++-
 linux-headers/linux/mman.h                    |   5 +-
 linux-headers/linux/userfaultfd.h             |  40 +++++--
 linux-headers/linux/vfio.h                    |  37 +++++++
 linux-headers/linux/vhost.h                   |  24 +++++
 18 files changed, 280 insertions(+), 27 deletions(-)

-- 
2.21.1


Re: [PATCH 0/3] headers update and virtio-net fixup
Posted by Michael S. Tsirkin 5 years, 6 months ago
On Mon, Apr 27, 2020 at 12:24:12PM +0200, Cornelia Huck wrote:
> This updates the headers to Linux 5.7-rc3. Doing so exposes
> a problem in virtio-net (the #define for compat covers too much),
> fix it.
> 
> Note 1: I'd like this to go through s390-next so that I can go
>         ahead with protected virtualization, which needs a headers
>         update.
> 
> Note 2: Why has the feature been merged in the first place without the
>         kernel part being upstream yet?

Windows drivers use it.

> Cornelia Huck (3):
>   virtio-net: fix rsc_ext compat handling
>   linux-headers: update against Linux 5.7-rc3
>   virtio-net: remove VIRTIO_NET_HDR_F_RSC_INFO compat handling
> 
>  hw/net/virtio-net.c                           |   8 --
>  include/standard-headers/linux/ethtool.h      |  10 +-
>  .../linux/input-event-codes.h                 |   5 +-
>  include/standard-headers/linux/pci_regs.h     |   2 +
>  include/standard-headers/linux/vhost_types.h  |   8 ++
>  .../standard-headers/linux/virtio_balloon.h   |  12 ++-
>  include/standard-headers/linux/virtio_ids.h   |   1 +
>  include/standard-headers/linux/virtio_net.h   | 102 +++++++++++++++++-
>  linux-headers/COPYING                         |   2 +
>  linux-headers/asm-x86/kvm.h                   |   1 +
>  linux-headers/asm-x86/unistd_32.h             |   1 +
>  linux-headers/asm-x86/unistd_64.h             |   1 +
>  linux-headers/asm-x86/unistd_x32.h            |   1 +
>  linux-headers/linux/kvm.h                     |  47 +++++++-
>  linux-headers/linux/mman.h                    |   5 +-
>  linux-headers/linux/userfaultfd.h             |  40 +++++--
>  linux-headers/linux/vfio.h                    |  37 +++++++
>  linux-headers/linux/vhost.h                   |  24 +++++
>  18 files changed, 280 insertions(+), 27 deletions(-)
> 
> -- 
> 2.21.1


Re: [PATCH 0/3] headers update and virtio-net fixup
Posted by Cornelia Huck 5 years, 6 months ago
On Mon, 27 Apr 2020 12:24:12 +0200
Cornelia Huck <cohuck@redhat.com> wrote:

> This updates the headers to Linux 5.7-rc3. Doing so exposes
> a problem in virtio-net (the #define for compat covers too much),
> fix it.
> 
> Note 1: I'd like this to go through s390-next so that I can go
>         ahead with protected virtualization, which needs a headers
>         update.
> 
> Note 2: Why has the feature been merged in the first place without the
>         kernel part being upstream yet?
> 
> Cornelia Huck (3):
>   virtio-net: fix rsc_ext compat handling
>   linux-headers: update against Linux 5.7-rc3
>   virtio-net: remove VIRTIO_NET_HDR_F_RSC_INFO compat handling
> 
>  hw/net/virtio-net.c                           |   8 --
>  include/standard-headers/linux/ethtool.h      |  10 +-
>  .../linux/input-event-codes.h                 |   5 +-
>  include/standard-headers/linux/pci_regs.h     |   2 +
>  include/standard-headers/linux/vhost_types.h  |   8 ++
>  .../standard-headers/linux/virtio_balloon.h   |  12 ++-
>  include/standard-headers/linux/virtio_ids.h   |   1 +
>  include/standard-headers/linux/virtio_net.h   | 102 +++++++++++++++++-
>  linux-headers/COPYING                         |   2 +
>  linux-headers/asm-x86/kvm.h                   |   1 +
>  linux-headers/asm-x86/unistd_32.h             |   1 +
>  linux-headers/asm-x86/unistd_64.h             |   1 +
>  linux-headers/asm-x86/unistd_x32.h            |   1 +
>  linux-headers/linux/kvm.h                     |  47 +++++++-
>  linux-headers/linux/mman.h                    |   5 +-
>  linux-headers/linux/userfaultfd.h             |  40 +++++--
>  linux-headers/linux/vfio.h                    |  37 +++++++
>  linux-headers/linux/vhost.h                   |  24 +++++
>  18 files changed, 280 insertions(+), 27 deletions(-)
> 

Queued patches 1+2 to s390-next.