[Qemu-devel] [PULL v2 00/20] Misc patches for 2017-05-19

Paolo Bonzini posted 20 patches 6 years, 10 months ago
Only 2 patches received!
There is a newer version of this series
.gitignore                                |   1 +
Makefile                                  |   3 +
Makefile.objs                             |   4 +
block/nbd-client.c                        |  11 +-
contrib/libvhost-user/libvhost-user.h     |  11 +-
contrib/vhost-user-scsi/Makefile.objs     |   1 +
contrib/vhost-user-scsi/vhost-user-scsi.c | 886 ++++++++++++++++++++++++++++++
default-configs/pci.mak                   |   1 +
default-configs/s390x-softmmu.mak         |   1 +
exec.c                                    |  13 +-
hw/pci/msix.c                             |  11 +-
hw/pci/trace-events                       |   3 +
hw/scsi/Makefile.objs                     |   1 +
hw/scsi/vhost-user-scsi.c                 | 211 +++++++
hw/scsi/virtio-scsi.c                     |   3 +
hw/timer/mc146818rtc.c                    | 206 ++++---
hw/virtio/virtio-pci.c                    |  54 ++
hw/virtio/virtio-pci.h                    |  11 +
include/block/nbd.h                       |   8 +-
include/hw/virtio/vhost-user-scsi.h       |  35 ++
include/hw/virtio/virtio-scsi.h           |   2 +
kvm-all.c                                 |   4 +-
nbd/client.c                              | 125 ++---
nbd/common.c                              |  23 +-
nbd/nbd-internal.h                        |  40 +-
nbd/server.c                              |  92 ++--
qemu-nbd.c                                |   3 +-
target/i386/arch_memory_mapping.c         |  18 +-
target/i386/cpu.c                         |  15 +-
target/i386/cpu.h                         |  20 +-
target/i386/helper.c                      |  96 ++--
target/i386/kvm.c                         |  12 +-
target/i386/machine.c                     |   4 -
target/i386/smm_helper.c                  |  18 -
trace-events                              |   3 +-
util/oslib-posix.c                        |   4 +-
36 files changed, 1643 insertions(+), 311 deletions(-)
create mode 100644 contrib/vhost-user-scsi/Makefile.objs
create mode 100644 contrib/vhost-user-scsi/vhost-user-scsi.c
create mode 100644 hw/scsi/vhost-user-scsi.c
create mode 100644 include/hw/virtio/vhost-user-scsi.h
[Qemu-devel] [PULL v2 00/20] Misc patches for 2017-05-19
Posted by Paolo Bonzini 6 years, 10 months ago
The following changes since commit 56821559f0ba682fe6b367815572e6f974d329ab:

  Merge remote-tracking branch 'dgilbert/tags/pull-hmp-20170517' into staging (2017-05-18 13:36:15 +0100)

are available in the git repository at:

  git://github.com/bonzini/qemu.git tags/for-upstream

for you to fetch changes up to 46465ffebc75edd75091f4eb0963fd48ce7c02b6:

  target/i386: use multiple CPU AddressSpaces (2017-05-24 18:09:03 +0200)

v2 fixes coding style errors in vhost-user-scsi.

----------------------------------------------------------------
* virtio-scsi use-after-free fix (Fam)
* vhost-user-scsi support (Felipe)
* SMM fixes and improvements for TCG (myself)
* irqchip and AddressSpaceDispatch cleanups and fixes (Peter)
* Coverity fix (Stefano)
* NBD cleanups (Vladimir)
* RTC accuracy improvements and code cleanups (Guangrong+Yunfang)

----------------------------------------------------------------
Fam Zheng (1):
      virtio-scsi: Unset hotplug handler when unrealize

Felipe Franciosi (2):
      vhost-user-scsi: Introduce vhost-user-scsi host device
      vhost-user-scsi: Introduce a vhost-user-scsi sample application

Paolo Bonzini (2):
      target/i386: enable A20 automatically in system management mode
      target/i386: use multiple CPU AddressSpaces

Peter Xu (4):
      kvm: irqchip: trace changes on msi add/remove
      msix: trace control bit write op
      kvm: irqchip: skip update msi when disabled
      exec: simplify phys_page_find() params

Stefano Stabellini (1):
      Check the return value of fcntl in qemu_set_cloexec

Tai Yunfang (1):
      mc146818rtc: precisely count the clock for periodic timer

Vladimir Sementsov-Ogievskiy (5):
      nbd: strict nbd_wr_syncv
      nbd: read_sync and friends: return 0 on success
      nbd: add errp parameter to nbd_wr_syncv()
      nbd: add errp to read_sync, write_sync and drop_sync
      nbd/client.c: use errp instead of LOG

Xiao Guangrong (4):
      mc146818rtc: update periodic timer only if it is needed
      mc146818rtc: ensure LOST_TICK_POLICY_SLEW is only enabled on TARGET_I386
      mc146818rtc: drop unnecessary '#ifdef TARGET_I386'
      mc146818rtc: embrace all x86 specific code

 .gitignore                                |   1 +
 Makefile                                  |   3 +
 Makefile.objs                             |   4 +
 block/nbd-client.c                        |  11 +-
 contrib/libvhost-user/libvhost-user.h     |  11 +-
 contrib/vhost-user-scsi/Makefile.objs     |   1 +
 contrib/vhost-user-scsi/vhost-user-scsi.c | 886 ++++++++++++++++++++++++++++++
 default-configs/pci.mak                   |   1 +
 default-configs/s390x-softmmu.mak         |   1 +
 exec.c                                    |  13 +-
 hw/pci/msix.c                             |  11 +-
 hw/pci/trace-events                       |   3 +
 hw/scsi/Makefile.objs                     |   1 +
 hw/scsi/vhost-user-scsi.c                 | 211 +++++++
 hw/scsi/virtio-scsi.c                     |   3 +
 hw/timer/mc146818rtc.c                    | 206 ++++---
 hw/virtio/virtio-pci.c                    |  54 ++
 hw/virtio/virtio-pci.h                    |  11 +
 include/block/nbd.h                       |   8 +-
 include/hw/virtio/vhost-user-scsi.h       |  35 ++
 include/hw/virtio/virtio-scsi.h           |   2 +
 kvm-all.c                                 |   4 +-
 nbd/client.c                              | 125 ++---
 nbd/common.c                              |  23 +-
 nbd/nbd-internal.h                        |  40 +-
 nbd/server.c                              |  92 ++--
 qemu-nbd.c                                |   3 +-
 target/i386/arch_memory_mapping.c         |  18 +-
 target/i386/cpu.c                         |  15 +-
 target/i386/cpu.h                         |  20 +-
 target/i386/helper.c                      |  96 ++--
 target/i386/kvm.c                         |  12 +-
 target/i386/machine.c                     |   4 -
 target/i386/smm_helper.c                  |  18 -
 trace-events                              |   3 +-
 util/oslib-posix.c                        |   4 +-
 36 files changed, 1643 insertions(+), 311 deletions(-)
 create mode 100644 contrib/vhost-user-scsi/Makefile.objs
 create mode 100644 contrib/vhost-user-scsi/vhost-user-scsi.c
 create mode 100644 hw/scsi/vhost-user-scsi.c
 create mode 100644 include/hw/virtio/vhost-user-scsi.h
-- 
2.13.0


Re: [Qemu-devel] [PULL v2 00/20] Misc patches for 2017-05-19
Posted by Vladimir Sementsov-Ogievskiy 6 years, 10 months ago
Hi!

What about this? Looks incomplete, only two patches here...

24.05.2017 19:11, Paolo Bonzini wrote:
> The following changes since commit 56821559f0ba682fe6b367815572e6f974d329ab:
>
>    Merge remote-tracking branch 'dgilbert/tags/pull-hmp-20170517' into staging (2017-05-18 13:36:15 +0100)
>
> are available in the git repository at:
>
>    git://github.com/bonzini/qemu.git tags/for-upstream
>
> for you to fetch changes up to 46465ffebc75edd75091f4eb0963fd48ce7c02b6:
>
>    target/i386: use multiple CPU AddressSpaces (2017-05-24 18:09:03 +0200)
>
> v2 fixes coding style errors in vhost-user-scsi.
>
> ----------------------------------------------------------------
> * virtio-scsi use-after-free fix (Fam)
> * vhost-user-scsi support (Felipe)
> * SMM fixes and improvements for TCG (myself)
> * irqchip and AddressSpaceDispatch cleanups and fixes (Peter)
> * Coverity fix (Stefano)
> * NBD cleanups (Vladimir)
> * RTC accuracy improvements and code cleanups (Guangrong+Yunfang)
>
> ----------------------------------------------------------------
> Fam Zheng (1):
>        virtio-scsi: Unset hotplug handler when unrealize
>
> Felipe Franciosi (2):
>        vhost-user-scsi: Introduce vhost-user-scsi host device
>        vhost-user-scsi: Introduce a vhost-user-scsi sample application
>
> Paolo Bonzini (2):
>        target/i386: enable A20 automatically in system management mode
>        target/i386: use multiple CPU AddressSpaces
>
> Peter Xu (4):
>        kvm: irqchip: trace changes on msi add/remove
>        msix: trace control bit write op
>        kvm: irqchip: skip update msi when disabled
>        exec: simplify phys_page_find() params
>
> Stefano Stabellini (1):
>        Check the return value of fcntl in qemu_set_cloexec
>
> Tai Yunfang (1):
>        mc146818rtc: precisely count the clock for periodic timer
>
> Vladimir Sementsov-Ogievskiy (5):
>        nbd: strict nbd_wr_syncv
>        nbd: read_sync and friends: return 0 on success
>        nbd: add errp parameter to nbd_wr_syncv()
>        nbd: add errp to read_sync, write_sync and drop_sync
>        nbd/client.c: use errp instead of LOG
>
> Xiao Guangrong (4):
>        mc146818rtc: update periodic timer only if it is needed
>        mc146818rtc: ensure LOST_TICK_POLICY_SLEW is only enabled on TARGET_I386
>        mc146818rtc: drop unnecessary '#ifdef TARGET_I386'
>        mc146818rtc: embrace all x86 specific code
>
>   .gitignore                                |   1 +
>   Makefile                                  |   3 +
>   Makefile.objs                             |   4 +
>   block/nbd-client.c                        |  11 +-
>   contrib/libvhost-user/libvhost-user.h     |  11 +-
>   contrib/vhost-user-scsi/Makefile.objs     |   1 +
>   contrib/vhost-user-scsi/vhost-user-scsi.c | 886 ++++++++++++++++++++++++++++++
>   default-configs/pci.mak                   |   1 +
>   default-configs/s390x-softmmu.mak         |   1 +
>   exec.c                                    |  13 +-
>   hw/pci/msix.c                             |  11 +-
>   hw/pci/trace-events                       |   3 +
>   hw/scsi/Makefile.objs                     |   1 +
>   hw/scsi/vhost-user-scsi.c                 | 211 +++++++
>   hw/scsi/virtio-scsi.c                     |   3 +
>   hw/timer/mc146818rtc.c                    | 206 ++++---
>   hw/virtio/virtio-pci.c                    |  54 ++
>   hw/virtio/virtio-pci.h                    |  11 +
>   include/block/nbd.h                       |   8 +-
>   include/hw/virtio/vhost-user-scsi.h       |  35 ++
>   include/hw/virtio/virtio-scsi.h           |   2 +
>   kvm-all.c                                 |   4 +-
>   nbd/client.c                              | 125 ++---
>   nbd/common.c                              |  23 +-
>   nbd/nbd-internal.h                        |  40 +-
>   nbd/server.c                              |  92 ++--
>   qemu-nbd.c                                |   3 +-
>   target/i386/arch_memory_mapping.c         |  18 +-
>   target/i386/cpu.c                         |  15 +-
>   target/i386/cpu.h                         |  20 +-
>   target/i386/helper.c                      |  96 ++--
>   target/i386/kvm.c                         |  12 +-
>   target/i386/machine.c                     |   4 -
>   target/i386/smm_helper.c                  |  18 -
>   trace-events                              |   3 +-
>   util/oslib-posix.c                        |   4 +-
>   36 files changed, 1643 insertions(+), 311 deletions(-)
>   create mode 100644 contrib/vhost-user-scsi/Makefile.objs
>   create mode 100644 contrib/vhost-user-scsi/vhost-user-scsi.c
>   create mode 100644 hw/scsi/vhost-user-scsi.c
>   create mode 100644 include/hw/virtio/vhost-user-scsi.h


-- 
Best regards,
Vladimir


Re: [Qemu-devel] [PULL v2 00/20] Misc patches for 2017-05-19
Posted by Alex Bennée 6 years, 10 months ago
Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> writes:

> Hi!
>
> What about this? Looks incomplete, only two patches here...

A pull request is merged from a git tree - the patches on the list are
informational only. If you need to re-issue a pull request it is
acceptable to post it with just the tweaked patches for information.

--
Alex Bennée

Re: [Qemu-devel] [PULL v2 00/20] Misc patches for 2017-05-19
Posted by Paolo Bonzini 6 years, 10 months ago
On 24/05/2017 18:11, Paolo Bonzini wrote:
> The following changes since commit 56821559f0ba682fe6b367815572e6f974d329ab:
> 
>   Merge remote-tracking branch 'dgilbert/tags/pull-hmp-20170517' into staging (2017-05-18 13:36:15 +0100)
> 
> are available in the git repository at:
> 
>   git://github.com/bonzini/qemu.git tags/for-upstream
> 
> for you to fetch changes up to 46465ffebc75edd75091f4eb0963fd48ce7c02b6:
> 
>   target/i386: use multiple CPU AddressSpaces (2017-05-24 18:09:03 +0200)
> 
> v2 fixes coding style errors in vhost-user-scsi.

NACK, Vladimir sent an updated patch.

Paolo

> ----------------------------------------------------------------
> * virtio-scsi use-after-free fix (Fam)
> * vhost-user-scsi support (Felipe)
> * SMM fixes and improvements for TCG (myself)
> * irqchip and AddressSpaceDispatch cleanups and fixes (Peter)
> * Coverity fix (Stefano)
> * NBD cleanups (Vladimir)
> * RTC accuracy improvements and code cleanups (Guangrong+Yunfang)
> 
> ----------------------------------------------------------------
> Fam Zheng (1):
>       virtio-scsi: Unset hotplug handler when unrealize
> 
> Felipe Franciosi (2):
>       vhost-user-scsi: Introduce vhost-user-scsi host device
>       vhost-user-scsi: Introduce a vhost-user-scsi sample application
> 
> Paolo Bonzini (2):
>       target/i386: enable A20 automatically in system management mode
>       target/i386: use multiple CPU AddressSpaces
> 
> Peter Xu (4):
>       kvm: irqchip: trace changes on msi add/remove
>       msix: trace control bit write op
>       kvm: irqchip: skip update msi when disabled
>       exec: simplify phys_page_find() params
> 
> Stefano Stabellini (1):
>       Check the return value of fcntl in qemu_set_cloexec
> 
> Tai Yunfang (1):
>       mc146818rtc: precisely count the clock for periodic timer
> 
> Vladimir Sementsov-Ogievskiy (5):
>       nbd: strict nbd_wr_syncv
>       nbd: read_sync and friends: return 0 on success
>       nbd: add errp parameter to nbd_wr_syncv()
>       nbd: add errp to read_sync, write_sync and drop_sync
>       nbd/client.c: use errp instead of LOG
> 
> Xiao Guangrong (4):
>       mc146818rtc: update periodic timer only if it is needed
>       mc146818rtc: ensure LOST_TICK_POLICY_SLEW is only enabled on TARGET_I386
>       mc146818rtc: drop unnecessary '#ifdef TARGET_I386'
>       mc146818rtc: embrace all x86 specific code
> 
>  .gitignore                                |   1 +
>  Makefile                                  |   3 +
>  Makefile.objs                             |   4 +
>  block/nbd-client.c                        |  11 +-
>  contrib/libvhost-user/libvhost-user.h     |  11 +-
>  contrib/vhost-user-scsi/Makefile.objs     |   1 +
>  contrib/vhost-user-scsi/vhost-user-scsi.c | 886 ++++++++++++++++++++++++++++++
>  default-configs/pci.mak                   |   1 +
>  default-configs/s390x-softmmu.mak         |   1 +
>  exec.c                                    |  13 +-
>  hw/pci/msix.c                             |  11 +-
>  hw/pci/trace-events                       |   3 +
>  hw/scsi/Makefile.objs                     |   1 +
>  hw/scsi/vhost-user-scsi.c                 | 211 +++++++
>  hw/scsi/virtio-scsi.c                     |   3 +
>  hw/timer/mc146818rtc.c                    | 206 ++++---
>  hw/virtio/virtio-pci.c                    |  54 ++
>  hw/virtio/virtio-pci.h                    |  11 +
>  include/block/nbd.h                       |   8 +-
>  include/hw/virtio/vhost-user-scsi.h       |  35 ++
>  include/hw/virtio/virtio-scsi.h           |   2 +
>  kvm-all.c                                 |   4 +-
>  nbd/client.c                              | 125 ++---
>  nbd/common.c                              |  23 +-
>  nbd/nbd-internal.h                        |  40 +-
>  nbd/server.c                              |  92 ++--
>  qemu-nbd.c                                |   3 +-
>  target/i386/arch_memory_mapping.c         |  18 +-
>  target/i386/cpu.c                         |  15 +-
>  target/i386/cpu.h                         |  20 +-
>  target/i386/helper.c                      |  96 ++--
>  target/i386/kvm.c                         |  12 +-
>  target/i386/machine.c                     |   4 -
>  target/i386/smm_helper.c                  |  18 -
>  trace-events                              |   3 +-
>  util/oslib-posix.c                        |   4 +-
>  36 files changed, 1643 insertions(+), 311 deletions(-)
>  create mode 100644 contrib/vhost-user-scsi/Makefile.objs
>  create mode 100644 contrib/vhost-user-scsi/vhost-user-scsi.c
>  create mode 100644 hw/scsi/vhost-user-scsi.c
>  create mode 100644 include/hw/virtio/vhost-user-scsi.h
>