qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 235a3f: s390x: fix -initrd in virtio machine


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 235a3f: s390x: fix -initrd in virtio machine
Date: Mon, 29 Oct 2012 17:30:10 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 235a3f0bed3584fe65079ffa07c7a842971f261e
      
https://github.com/qemu/qemu/commit/235a3f0bed3584fe65079ffa07c7a842971f261e
  Author: Alexander Graf <address@hidden>
  Date:   2012-10-29 (Mon, 29 Oct 2012)

  Changed paths:
    M hw/s390-virtio.c

  Log Message:
  -----------
  s390x: fix -initrd in virtio machine

When using -initrd in the virtio machine, we need to indicate the initrd
start and size inside the kernel image. These parameters need to be stored
in native endianness.

Signed-off-by: Alexander Graf <address@hidden>
Acked-by: Richard Henderson <address@hidden>
Acked-by: Christian Borntraeger <address@hidden>


  Commit: 1b3e6f88dc151578acb6158e22570cf3ee7cbb69
      
https://github.com/qemu/qemu/commit/1b3e6f88dc151578acb6158e22570cf3ee7cbb69
  Author: Heinz Graalfs <address@hidden>
  Date:   2012-10-29 (Mon, 29 Oct 2012)

  Changed paths:
    M scripts/kvm/kvm_stat

  Log Message:
  -----------
  s390/kvm_stat: correct sys_perf_event_open syscall number

Correct sys_perf_event_open syscall number for s390 architecture
   - the hardcoded syscall number 298 is for x86 but should
     be different for other architectures.
     In case we figure out via /proc/cpuinfo that we are running
     on s390 the appropriate syscall number is used from map
     syscall_numbers; other architectures can extend this.

Signed-off-by: Heinz Graalfs <address@hidden>
Signed-off-by: Jens Freimann <address@hidden>
Signed-off-by: Alexander Graf <address@hidden>


  Commit: 5b08b344bf581a266071389ceeb445e943e01ba1
      
https://github.com/qemu/qemu/commit/5b08b344bf581a266071389ceeb445e943e01ba1
  Author: Christian Borntraeger <address@hidden>
  Date:   2012-10-29 (Mon, 29 Oct 2012)

  Changed paths:
    M target-s390x/kvm.c

  Log Message:
  -----------
  s390: use sync regs for register transfer

Newer kernels provide the guest registers in kvm_run. Lets use
those if available (i.e. the capability is set). This avoids
ioctls on cpu_synchronize_state making intercepts faster.

In addition, we have now the prefix register, the access registers
the control registers up to date. This helps in certain cases,
e.g. for resolving kernel module addresses with gdb on a guest.

On return, we update the registers according to the level statement,
i.e. we put all registers for KVM_PUT_FULL_STATE and _RESET_STATE.

Signed-off-by: Christian Borntraeger <address@hidden>
Signed-off-by: Jens Freimann <address@hidden>
Signed-off-by: Alexander Graf <address@hidden>


  Commit: f6c98f9286c69cafe108b7e9fb22c2ff5da7d6a9
      
https://github.com/qemu/qemu/commit/f6c98f9286c69cafe108b7e9fb22c2ff5da7d6a9
  Author: Heinz Graalfs <address@hidden>
  Date:   2012-10-29 (Mon, 29 Oct 2012)

  Changed paths:
    M hw/s390x/Makefile.objs
    A hw/s390x/sclp.c
    A hw/s390x/sclp.h
    M target-s390x/cpu.h
    M target-s390x/kvm.c
    M target-s390x/misc_helper.c

  Log Message:
  -----------
  s390: sclp base support

This adds a more generic infrastructure for handling Service-Call
requests on s390. Currently we only support a small subset of Read
SCP Info directly in target-s390x. This patch provides the base
infrastructure for supporting more commands and moves Read SCP
Info.
In the future we could add additional commands for hotplug, call
home and event handling.

Signed-off-by: Heinz Graalfs <address@hidden>
Signed-off-by: Christian Borntraeger <address@hidden>
Signed-off-by: Jens Freimann <address@hidden>
Signed-off-by: Alexander Graf <address@hidden>


  Commit: 559a17a1439e34a95dcab47ef99022bcd0e8f8e7
      
https://github.com/qemu/qemu/commit/559a17a1439e34a95dcab47ef99022bcd0e8f8e7
  Author: Heinz Graalfs <address@hidden>
  Date:   2012-10-29 (Mon, 29 Oct 2012)

  Changed paths:
    M hw/s390-virtio.c
    M hw/s390x/Makefile.objs
    A hw/s390x/event-facility.c
    A hw/s390x/event-facility.h
    M hw/s390x/sclp.c
    M hw/s390x/sclp.h

  Log Message:
  -----------
  s390: sclp event support

Several SCLP features are considered to be events. Those events don't
provide SCLP commands on their own, instead they are all based on
Read Event Data, Write Event Data, Write Event Mask and the service
interrupt. Follow-on patches will provide SCLP's Signal Quiesce (via
system_powerdown) and the ASCII console.
Further down the road the sclp line mode console and configuration
change events (e.g. cpu hotplug) can be implemented.

Signed-off-by: Heinz Graalfs <address@hidden>
Signed-off-by: Christian Borntraeger <address@hidden>
Signed-off-by: Jens Freimann <address@hidden>
Signed-off-by: Alexander Graf <address@hidden>


  Commit: ab9074b559823a22822db9e299198c53169c34ea
      
https://github.com/qemu/qemu/commit/ab9074b559823a22822db9e299198c53169c34ea
  Author: Heinz Graalfs <address@hidden>
  Date:   2012-10-29 (Mon, 29 Oct 2012)

  Changed paths:
    M hw/s390x/Makefile.objs
    M hw/s390x/event-facility.c
    A hw/s390x/sclpquiesce.c

  Log Message:
  -----------
  s390: sclp signal quiesce support

This implements the sclp signal quiesce event via the SCLP Event
Facility.
This allows to gracefully shutdown a guest by using system_powerdown
notifiers. It creates a service interrupt that will trigger a
Read Event Data command from the guest. This code will then add an
event that is interpreted by linux guests as ctrl-alt-del.

Signed-off-by: Heinz Graalfs <address@hidden>
Signed-off-by: Christian Borntraeger <address@hidden>
Signed-off-by: Jens Freimann <address@hidden>
Signed-off-by: Alexander Graf <address@hidden>


  Commit: 130c57c036fdc2eba8936da1b1dad39e78d5ea32
      
https://github.com/qemu/qemu/commit/130c57c036fdc2eba8936da1b1dad39e78d5ea32
  Author: Heinz Graalfs <address@hidden>
  Date:   2012-10-29 (Mon, 29 Oct 2012)

  Changed paths:
    M hw/s390x/Makefile.objs
    A hw/s390x/sclpconsole.c

  Log Message:
  -----------
  s390: sclp ascii console support

This code adds console support  by implementing SCLP's ASCII Console
Data event. This is the same console as LPARs ASCII console or z/VMs
sysascii.

The console can be specified manually with something like
-chardev stdio,id=charconsole0 -device 
sclpconsole,chardev=charconsole0,id=console0

Newer kernels will autodetect that console and prefer that over virtio
console.

When data is received from the character layer it creates a service
interrupt to trigger a Read Event Data command from the guest that will
pick up the received character byte-stream.
When characters are echo'ed by the linux guest a Write Event Data occurs
which is forwarded by the Event Facility to the console that supports
a corresponding mask value.
Console resizing is not supported.
The character layer byte-stream is buffered using a fixed size iov
buffer.

Signed-off-by: Heinz Graalfs <address@hidden>
Signed-off-by: Christian Borntraeger <address@hidden>
Signed-off-by: Jens Freimann <address@hidden>
Signed-off-by: Alexander Graf <address@hidden>


  Commit: 3585317f6fdff0e3ae082f88afb2784d815a07e2
      
https://github.com/qemu/qemu/commit/3585317f6fdff0e3ae082f88afb2784d815a07e2
  Author: Aurelien Jarno <address@hidden>
  Date:   2012-10-29 (Mon, 29 Oct 2012)

  Changed paths:
    M tcg/mips/tcg-target.c

  Log Message:
  -----------
  tcg/mips: use MUL instead of MULT on MIPS32 and above

MIPS32 and later instruction sets have a multiplication instruction
directly operating on GPRs. It only produces a 32-bit result but
it is exactly what is needed by QEMU.

Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>


  Commit: 38c4718392fda2bda1e084366b9aa41b49b9d8cf
      
https://github.com/qemu/qemu/commit/38c4718392fda2bda1e084366b9aa41b49b9d8cf
  Author: Aurelien Jarno <address@hidden>
  Date:   2012-10-29 (Mon, 29 Oct 2012)

  Changed paths:
    M hw/s390-virtio.c
    M hw/s390x/Makefile.objs
    A hw/s390x/event-facility.c
    A hw/s390x/event-facility.h
    A hw/s390x/sclp.c
    A hw/s390x/sclp.h
    A hw/s390x/sclpconsole.c
    A hw/s390x/sclpquiesce.c
    M scripts/kvm/kvm_stat
    M target-s390x/cpu.h
    M target-s390x/kvm.c
    M target-s390x/misc_helper.c

  Log Message:
  -----------
  Merge branch 's390-for-upstream' of git://repo.or.cz/qemu/agraf

* 's390-for-upstream' of git://repo.or.cz/qemu/agraf:
  s390: sclp ascii console support
  s390: sclp signal quiesce support
  s390: sclp event support
  s390: sclp base support
  s390: use sync regs for register transfer
  s390/kvm_stat: correct sys_perf_event_open syscall number
  s390x: fix -initrd in virtio machine


Compare: https://github.com/qemu/qemu/compare/d26a8caea3f1...38c4718392fd

reply via email to

[Prev in Thread] Current Thread [Next in Thread]