1. 28 2月, 2019 2 次提交
  2. 27 2月, 2019 1 次提交
    • P
      Merge remote-tracking branch 'remotes/berrange/tags/authz-core-pull-request' into staging · 86c7e2f4
      Peter Maydell 提交于
      Add a standard authorization framework
      
      The current network services now support encryption via TLS and in some
      cases support authentication via SASL. In cases where SASL is not
      available, x509 client certificates can be used as a crude authorization
      scheme, but using a sub-CA and controlling who you give certs to. In
      general this is not very flexible though, so this series introduces a
      new standard authorization framework.
      
      It comes with four initial authorization mechanisms
      
       - Simple - an exact username match. This is useful when there is
         exactly one user that is known to connect. For example when live
         migrating from one QEMU to another with TLS, libvirt would use
         the simple scheme to whitelist the TLS cert of the source QEMU.
      
       - List - an full access control list, with optional regex matching.
         This is more flexible and is used to provide 100% backcompat with
         the existing HMP ACL commands. The caveat is that we can't create
         these via the CLI -object arg yet.
      
       - ListFile - the same as List, but with the rules stored in JSON
         format in an external file. This avoids the -object limitation
         while also allowing the admin to change list entries on the file.
         QEMU uses inotify to notice these changes and auto-reload the
         file contents. This is likely a good default choice for most
         network services, if the "simple" mechanism isn't sufficient.
      
       - PAM - delegate the username lookup to a PAM module, which opens
         the door to many options including things like SQL/LDAP lookups.
      
      # gpg: Signature made Tue 26 Feb 2019 15:33:46 GMT
      # gpg:                using RSA key BE86EBB415104FDF
      # gpg: Good signature from "Daniel P. Berrange <dan@berrange.com>" [full]
      # gpg:                 aka "Daniel P. Berrange <berrange@redhat.com>" [full]
      # Primary key fingerprint: DAF3 A6FD B26B 6291 2D0E  8E3F BE86 EBB4 1510 4FDF
      
      * remotes/berrange/tags/authz-core-pull-request:
        authz: delete existing ACL implementation
        authz: add QAuthZPAM object type for authorizing using PAM
        authz: add QAuthZListFile object type for a file access control list
        authz: add QAuthZList object type for an access control list
        authz: add QAuthZSimple object type for easy whitelist auth checks
        authz: add QAuthZ object as an authorization base class
        hw/usb: switch MTP to use new inotify APIs
        hw/usb: fix const-ness for string params in MTP driver
        hw/usb: don't set IN_ISDIR for inotify watch in MTP driver
        qom: don't require user creatable objects to be registered
        util: add helper APIs for dealing with inotify in portable manner
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      86c7e2f4
  3. 26 2月, 2019 12 次提交
  4. 25 2月, 2019 3 次提交
    • P
      Merge remote-tracking branch 'remotes/stsquad/tags/pull-testing-next-220219-1' into staging · ef80b99c
      Peter Maydell 提交于
      Various testing fixes:
      
        - Travis updates (inc disable isapc cdrom test)
        - Add gitlab control
        - Fix docker image
        - keep softloat tests short
      
      # gpg: Signature made Fri 22 Feb 2019 09:51:36 GMT
      # gpg:                using RSA key 6685AE99E75167BCAFC8DF35FBD0DB095A9E2A44
      # gpg: Good signature from "Alex Bennée (Master Work Key) <alex.bennee@linaro.org>" [full]
      # Primary key fingerprint: 6685 AE99 E751 67BC AFC8  DF35 FBD0 DB09 5A9E 2A44
      
      * remotes/stsquad/tags/pull-testing-next-220219-1:
        tests/cdrom-test: only include isapc cdrom test when g_test_slow()
        tests/softfloat: always do quick softfloat tests
        Add a gitlab-ci file for Continuous Integration testing on Gitlab
        tests/docker: peg netmap code to a specific version
        tests/docker: squash initial update and install step for debian9
        .travis.yml: Remove disable-uuid
        .travis.yml: Test with disable-replication
        .travis.yml: split debug builds
        .travis.yml: the xcode10 image seems to be hosed
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      ef80b99c
    • P
      Merge remote-tracking branch 'remotes/kraxel/tags/vga-20190222-pull-request' into staging · 59a568b5
      Peter Maydell 提交于
      vga: bugfixes and edid support for virtio-vga
      
      # gpg: Signature made Fri 22 Feb 2019 08:24:25 GMT
      # gpg:                using RSA key 4CB6D8EED3E87138
      # gpg: Good signature from "Gerd Hoffmann (work) <kraxel@redhat.com>" [full]
      # gpg:                 aka "Gerd Hoffmann <gerd@kraxel.org>" [full]
      # gpg:                 aka "Gerd Hoffmann (private) <kraxel@gmail.com>" [full]
      # Primary key fingerprint: A032 8CFF B93A 17A7 9901  FE7D 4CB6 D8EE D3E8 7138
      
      * remotes/kraxel/tags/vga-20190222-pull-request:
        display/virtio: add edid support.
        virtio-gpu: remove useless 'waiting' field
        virtio-gpu: block both 2d and 3d rendering
        virtio-gpu: remove unused config_size
        virtio-gpu: remove unused qdev
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      59a568b5
    • P
      Merge remote-tracking branch 'remotes/kraxel/tags/ui-20190222-pull-request' into staging · 8a4c08b1
      Peter Maydell 提交于
      ui: add support for -display spice-app
      ui: gtk+sdl bugfixes.
      
      # gpg: Signature made Fri 22 Feb 2019 07:53:13 GMT
      # gpg:                using RSA key 4CB6D8EED3E87138
      # gpg: Good signature from "Gerd Hoffmann (work) <kraxel@redhat.com>" [full]
      # gpg:                 aka "Gerd Hoffmann <gerd@kraxel.org>" [full]
      # gpg:                 aka "Gerd Hoffmann (private) <kraxel@gmail.com>" [full]
      # Primary key fingerprint: A032 8CFF B93A 17A7 9901  FE7D 4CB6 D8EE D3E8 7138
      
      * remotes/kraxel/tags/ui-20190222-pull-request:
        display: add -display spice-app launching a Spice client
        spice: use a default name for the server
        qapi: document DisplayType enum
        build-sys: add gio-2.0 check
        char: register spice ports after spice started
        char: move SpiceChardev and open_spice_port() to spice.h header
        spice: do not stop spice if VM is paused
        spice: merge options lists
        spice: avoid spice runtime assert
        char/spice: discard write() if backend is disconnected
        char/spice: trigger HUP event
        ui/gtk: Fix the license information
        sdl2: drop qemu_input_event_send_key_qcode call
        spice: set device address and device display ID in QXL interface
        kbd-state: don't block auto-repeat events
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      8a4c08b1
  5. 22 2月, 2019 22 次提交