Skip to content
Snippets Groups Projects
  1. Jan 13, 2021
  2. Jan 12, 2021
  3. Jan 06, 2021
  4. Jan 04, 2021
  5. Jan 02, 2021
  6. Dec 21, 2020
  7. Dec 18, 2020
  8. Dec 16, 2020
  9. Dec 15, 2020
    • Alejandro Jimenez's avatar
      qmp: generalize watchdog-set-action to -no-reboot/-no-shutdown · e6dba048
      Alejandro Jimenez authored
      
      Add a QMP command to allow for the behaviors specified by the
      -no-reboot and -no-shutdown command line option to be set at runtime.
      The new command is named set-action and takes optional arguments, named
      after an event, that provide a corresponding action to take.
      
      Example:
      
      -> { "execute": "set-action",
           "arguments": {
      	"reboot": "none",
      	"shutdown": "poweroff",
      	"watchdog": "debug" } }
      <- { "return": {} }
      
      Suggested-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      Signed-off-by: default avatarAlejandro Jimenez <alejandro.j.jimenez@oracle.com>
      Message-Id: <1607705564-26264-4-git-send-email-alejandro.j.jimenez@oracle.com>
      [Split the series differently, with -action based on the QMP command. - Paolo]
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      e6dba048
    • Eduardo Habkost's avatar
      MAINTAINERS: Update my git repository URLs · f953c100
      Eduardo Habkost authored
      
      I'm moving my git repositories to gitlab.com, update MAINTAINERS
      to point to the correct URL.
      
      Signed-off-by: default avatarEduardo Habkost <ehabkost@redhat.com>
      Message-Id: <20201214212032.2999853-1-ehabkost@redhat.com>
      Signed-off-by: default avatarEduardo Habkost <ehabkost@redhat.com>
      f953c100
    • Peter Maydell's avatar
      target/nios2: Move IIC code into CPU object proper · cd2528de
      Peter Maydell authored
      
      The Nios2 architecture supports two different interrupt controller
      options:
      
       * The IIC (Internal Interrupt Controller) is part of the CPU itself;
         it has 32 IRQ input lines and no NMI support.  Interrupt status is
         queried and controlled via the CPU's ipending and istatus
         registers.
      
       * The EIC (External Interrupt Controller) interface allows the CPU
         to connect to an external interrupt controller.  The interface
         allows the interrupt controller to present a packet of information
         containing:
          - handler address
          - interrupt level
          - register set
          - NMI mode
      
      QEMU does not model an EIC currently.  We do model the IIC, but its
      implementation is split across code in hw/nios2/cpu_pic.c and
      hw/intc/nios2_iic.c.  The code in those two files has no state of its
      own -- the IIC state is in the Nios2CPU state struct.
      
      Because CPU objects now inherit (indirectly) from TYPE_DEVICE, they
      can have GPIO input lines themselves, so we can implement the IIC
      directly in the CPU object the same way that real hardware does.
      
      Create named "IRQ" GPIO inputs to the Nios2 CPU object, and make the
      only user of the IIC wire up directly to those instead.
      
      Note that the old code had an "NMI" concept which was entirely unused
      and also as far as I can see not architecturally correct, since only
      the EIC has a concept of an NMI.
      
      This fixes a Coverity-reported trivial memory leak of the IRQ array
      allocated in nios2_cpu_pic_init().
      
      Fixes: Coverity CID 1421916
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      Reviewed-by: default avatarPhilippe Mathieu-Daudé <f4bug@amsat.org>
      Message-id: 20201129174022.26530-2-peter.maydell@linaro.org
      Reviewed-by: default avatarWentong Wu <wentong.wu@intel.com>
      Tested-by: default avatarWentong Wu <wentong.wu@intel.com>
      cd2528de
  10. Dec 14, 2020
  11. Dec 13, 2020
  12. Dec 11, 2020
    • Hanna Reitz's avatar
      fuse: Allow exporting BDSs via FUSE · 0c9b70d5
      Hanna Reitz authored
      
      block-export-add type=fuse allows mounting block graph nodes via FUSE on
      some existing regular file.  That file should then appears like a raw
      disk image, and accesses to it result in accesses to the exported BDS.
      
      Right now, we only implement the necessary block export functions to set
      it up and shut it down.  We do not implement any access functions, so
      accessing the mount point only results in errors.  This will be
      addressed by a followup patch.
      
      We keep a hash table of exported mount points, because we want to be
      able to detect when users try to use a mount point twice.  This is
      because we invoke stat() to check whether the given mount point is a
      regular file, but if that file is served by ourselves (because it is
      already used as a mount point), then this stat() would have to be served
      by ourselves, too, which is impossible to do while we (as the caller)
      are waiting for it to settle.  Therefore, keep track of mount point
      paths to at least catch the most obvious instances of that problem.
      
      Signed-off-by: default avatarMax Reitz <mreitz@redhat.com>
      Message-Id: <20201027190600.192171-3-mreitz@redhat.com>
      Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
      0c9b70d5
    • Cornelia Huck's avatar
      tests/acceptance: add a test for devices on s390x · 2d9ca5a3
      Cornelia Huck authored
      
      This adds a very basic test for checking that we present devices
      in a way that Linux can consume: boot with both virtio-net-ccw and
      virtio-net-pci attached and then verify that Linux is able to see
      and detect these devices.
      
      Signed-off-by: default avatarCornelia Huck <cohuck@redhat.com>
      Reviewed-by: default avatarThomas Huth <thuth@redhat.com>
      Reviewed-by: default avatarWainer dos Santos Moschetta <wainersm@redhat.com>
      Message-Id: <20201126130158.1471985-1-cohuck@redhat.com>
      2d9ca5a3
  13. Dec 10, 2020
  14. Nov 23, 2020
  15. Nov 13, 2020
  16. Nov 10, 2020
  17. Nov 09, 2020
  18. Nov 08, 2020
  19. Nov 03, 2020
Loading