qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] fbe2e2: hmp: Make "info block" output more re


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] fbe2e2: hmp: Make "info block" output more readable
Date: Mon, 01 Jul 2013 09:00:17 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: fbe2e26c15af35e4d157874dc80f6a19eebaa83b
      
https://github.com/qemu/qemu/commit/fbe2e26c15af35e4d157874dc80f6a19eebaa83b
  Author: Kevin Wolf <address@hidden>
  Date:   2013-06-28 (Fri, 28 Jun 2013)

  Changed paths:
    M hmp.c

  Log Message:
  -----------
  hmp: Make "info block" output more readable

HMP is meant for humans and you should notice it.

This changes the output format to use a bit more space to display the
information more readable and leaves out irrelevant information (e.g.
mention only that an image is encrypted, but not when it's not; display
I/O limits only if throttling is in effect; ...)

Before:

    (qemu) info block
    ide0-hd0: removable=0 io-status=ok file=/tmp/overlay.qcow2
    backing_file=/tmp/backing.img backing_file_depth=1 ro=0 drv=qcow2
    encrypted=1 bps=0 bps_rd=0 bps_wr=0 iops=1024 iops_rd=0 iops_wr=0
    ide1-cd0: removable=1 locked=0 tray-open=0 io-status=ok
    file=/home/kwolf/images/iso/Fedora-18-x86_64-Live-Desktop.iso ro=1
    drv=raw encrypted=0 bps=0 bps_rd=0 bps_wr=0 iops=0 iops_rd=0 iops_wr=0
    floppy0: removable=1 locked=0 tray-open=0 [not inserted]
    sd0: removable=1 locked=0 tray-open=0 [not inserted]

After:

    (qemu) info block
    ide0-hd0: /tmp/overlay.qcow2 (qcow2, encrypted)
  Backing file:     /tmp/backing.img (chain depth: 1)
  I/O limits:       bps=0 bps_rd=0 bps_wr=0 iops=1024 iops_rd=0 iops_wr=0

    ide1-cd0: /home/kwolf/images/iso/Fedora-18-x86_64-Live-Desktop.iso (raw, 
read-only)
  Removable device: not locked, tray closed

    floppy0: [not inserted]
  Removable device: not locked, tray closed

    sd0: [not inserted]
  Removable device: not locked, tray closed

Signed-off-by: Kevin Wolf <address@hidden>
Reviewed-by: Fam Zheng <address@hidden>
Acked-by: Anthony Liguori <address@hidden>
Signed-off-by: Luiz Capitulino <address@hidden>


  Commit: 215e79c01c4e6f766eb9add56c56453e9ea1d948
      
https://github.com/qemu/qemu/commit/215e79c01c4e6f766eb9add56c56453e9ea1d948
  Author: Alexander Graf <address@hidden>
  Date:   2013-06-30 (Sun, 30 Jun 2013)

  Changed paths:
    M cpus.c
    M include/sysemu/kvm.h
    M kvm-all.c

  Log Message:
  -----------
  KVM: Don't assume that mpstate exists with in-kernel PIC always

On PPC, we don't support MP state. So far it's not necessary and I'm
not convinced yet that we really need to support it ever.

However, the current idle logic in QEMU assumes that an in-kernel PIC
also means we support MP state. This assumption is not true anymore.

Let's split up the two cases into two different variables. That way
PPC can expose an in-kernel PIC, while not implementing MP state.

Signed-off-by: Alexander Graf <address@hidden>
CC: Jan Kiszka <address@hidden>


  Commit: 7b7745930b1f14057b41a257524c559e62c5faa7
      
https://github.com/qemu/qemu/commit/7b7745930b1f14057b41a257524c559e62c5faa7
  Author: Alexander Graf <address@hidden>
  Date:   2013-06-30 (Sun, 30 Jun 2013)

  Changed paths:
    M include/sysemu/kvm.h
    M kvm-all.c
    M kvm-stub.c

  Log Message:
  -----------
  KVM: Export kvm_init_irq_routing

On PPC, we can have different types of interrupt controllers, so we really
only know that we are going to use one when we created it.

Export kvm_init_irq_routing() to common code, so that we don't have to call
kvm_irqchip_create().

Signed-off-by: Alexander Graf <address@hidden>


  Commit: d07cc1f12d8e15c167857852c39190d770763824
      
https://github.com/qemu/qemu/commit/d07cc1f12d8e15c167857852c39190d770763824
  Author: Alexander Graf <address@hidden>
  Date:   2013-06-30 (Sun, 30 Jun 2013)

  Changed paths:
    M kvm-all.c

  Log Message:
  -----------
  KVM: MSI: Swap payload to native endianness

The usual MSI injection mechanism writes msi.data into memory using an
le32 wrapper. So on big endian guests, this swaps msg.data into the
expected byte order.

For irqfd however, we don't swap the payload right now, rendering
in-kernel MPIC emulation broken on PowerPC.

Swap msg.data to the correct endianness whenever we touch it.

Signed-off-by: Alexander Graf <address@hidden>


  Commit: 8935a442cd3cf94f21fcc4386c1c07a7a5dd6887
      
https://github.com/qemu/qemu/commit/8935a442cd3cf94f21fcc4386c1c07a7a5dd6887
  Author: Scott Wood <address@hidden>
  Date:   2013-06-30 (Sun, 30 Jun 2013)

  Changed paths:
    M hw/intc/openpic.c
    M include/hw/ppc/openpic.h

  Log Message:
  -----------
  openpic: factor out some common defines into openpic.h

...for use by the KVM in-kernel irqchip stub.

Signed-off-by: Scott Wood <address@hidden>
Signed-off-by: Alexander Graf <address@hidden>


  Commit: 82fc73b65c19fed0ee28aeb655d27de5ac9e78d5
      
https://github.com/qemu/qemu/commit/82fc73b65c19fed0ee28aeb655d27de5ac9e78d5
  Author: Scott Wood <address@hidden>
  Date:   2013-06-30 (Sun, 30 Jun 2013)

  Changed paths:
    M hw/ppc/e500.c

  Log Message:
  -----------
  PPC: e500: factor out mpic init code

KVM in-kernel MPIC support is going to expand this even more,
so let's keep it contained.

Signed-off-by: Scott Wood <address@hidden>
Signed-off-by: Alexander Graf <address@hidden>


  Commit: cb925cf9230f77c096dae4b159a9449bc306256c
      
https://github.com/qemu/qemu/commit/cb925cf9230f77c096dae4b159a9449bc306256c
  Author: Alexander Graf <address@hidden>
  Date:   2013-06-30 (Sun, 30 Jun 2013)

  Changed paths:
    M hw/i386/kvm/ioapic.c
    M include/sysemu/kvm.h
    M kvm-all.c

  Log Message:
  -----------
  KVM: PIC: Only commit irq routing when necessary

The current logic updates KVM's view of our interrupt map every time we
change it. While this is nice and bullet proof, it slows things down
badly for me. QEMU spends about 3 seconds on every start telling KVM what
news it has on its routing maps.

Instead, let's just synchronize the whole irq routing map as a whole when
we're done constructing it. For things that change during runtime, we can
still update the routing table on demand.

Signed-off-by: Alexander Graf <address@hidden>


  Commit: 4be1db86060d803f2335c08a483218eb6a8bd9eb
      
https://github.com/qemu/qemu/commit/4be1db86060d803f2335c08a483218eb6a8bd9eb
  Author: Alexander Graf <address@hidden>
  Date:   2013-06-30 (Sun, 30 Jun 2013)

  Changed paths:
    M target-ppc/Makefile.objs
    A target-ppc/kvm-stub.c

  Log Message:
  -----------
  PPC: Add non-kvm stub file

There are cases where a kvm provided function is called from generic
hw code that doesn't know whether kvm is available or not. Provide
a stub file which can provide simple replacement functions for those
cases.

Signed-off-by: Alexander Graf <address@hidden>
Reviewed-by: Paolo Bonzini <address@hidden>


  Commit: d85937e683f6ff4d68293cb24c780fb1f6820d2c
      
https://github.com/qemu/qemu/commit/d85937e683f6ff4d68293cb24c780fb1f6820d2c
  Author: Scott Wood <address@hidden>
  Date:   2013-06-30 (Sun, 30 Jun 2013)

  Changed paths:
    M default-configs/ppc-softmmu.mak
    M default-configs/ppc64-softmmu.mak
    M default-configs/ppcemb-softmmu.mak
    M hw/intc/Makefile.objs
    A hw/intc/openpic_kvm.c
    M hw/ppc/e500.c
    M include/hw/ppc/openpic.h
    M target-ppc/kvm-stub.c

  Log Message:
  -----------
  kvm/openpic: in-kernel mpic support

Enables support for the in-kernel MPIC that thas been merged into the
KVM next branch.  This includes irqfd/KVM_IRQ_LINE support from Alex
Graf (along with some other improvements).

Note from Alex regarding kvm_irqchip_create():

  On x86, one would call kvm_irqchip_create() to initialize an
  in-kernel interrupt controller.  That function then goes ahead and
  initializes global capability variables as well as the default irq
  routing table.

  On ppc, we can't call kvm_irqchip_create() because we can have
  different types of interrupt controllers.  So we want to do all the
  things that function would do for us in the in-kernel device init
  handler.

Signed-off-by: Scott Wood <address@hidden>
[agraf: squash in kvm_irqchip_commit_routes patch, fix non-kvm build,
  fix ppcemb]
Signed-off-by: Alexander Graf <address@hidden>


  Commit: e1766344fd1d3cb7421f734f89a9356fdec98398
      
https://github.com/qemu/qemu/commit/e1766344fd1d3cb7421f734f89a9356fdec98398
  Author: Andreas Färber <address@hidden>
  Date:   2013-06-30 (Sun, 30 Jun 2013)

  Changed paths:
    M hw/intc/openpic.c
    M hw/ppc/e500.c
    M hw/ppc/mac_newworld.c
    M include/hw/ppc/openpic.h

  Log Message:
  -----------
  intc/openpic: QOM'ify

Introduce type constant and cast macro.

Signed-off-by: Andreas Färber <address@hidden>
Reviewed-by: Peter Crosthwaite <address@hidden>
Signed-off-by: Alexander Graf <address@hidden>


  Commit: cbe72019b1432b368dde7c6cd3e270fc221de085
      
https://github.com/qemu/qemu/commit/cbe72019b1432b368dde7c6cd3e270fc221de085
  Author: Andreas Färber <address@hidden>
  Date:   2013-06-30 (Sun, 30 Jun 2013)

  Changed paths:
    M hw/intc/openpic.c

  Log Message:
  -----------
  intc/openpic: Convert to QOM realize

Split qdev initfn into instance_init and realize functions.
Change one occurrence of "klass" while at it.

Signed-off-by: Andreas Färber <address@hidden>
Reviewed-by: Peter Crosthwaite <address@hidden>
Signed-off-by: Alexander Graf <address@hidden>


  Commit: dd49c038c373329dc9e98e591677978ff2277d9f
      
https://github.com/qemu/qemu/commit/dd49c038c373329dc9e98e591677978ff2277d9f
  Author: Andreas Färber <address@hidden>
  Date:   2013-06-30 (Sun, 30 Jun 2013)

  Changed paths:
    M hw/intc/openpic_kvm.c
    M hw/ppc/e500.c
    M include/hw/ppc/openpic.h

  Log Message:
  -----------
  intc/openpic_kvm: Fix QOM and build issues

Signed-off-by: Andreas Färber <address@hidden>
Signed-off-by: Alexander Graf <address@hidden>


  Commit: 1f1a83f459dab7fbec9c5866a4d6a1ae16549edd
      
https://github.com/qemu/qemu/commit/1f1a83f459dab7fbec9c5866a4d6a1ae16549edd
  Author: Andreas Färber <address@hidden>
  Date:   2013-06-30 (Sun, 30 Jun 2013)

  Changed paths:
    M hw/ppc/mpc8544_guts.c

  Log Message:
  -----------
  mpc8544_guts: Fix MemoryRegion name

6544 -> 8544

Signed-off-by: Andreas Färber <address@hidden>
Signed-off-by: Alexander Graf <address@hidden>


  Commit: 43f691e9e248edca7b70680fd87b5be786cc4e01
      
https://github.com/qemu/qemu/commit/43f691e9e248edca7b70680fd87b5be786cc4e01
  Author: Andreas Färber <address@hidden>
  Date:   2013-06-30 (Sun, 30 Jun 2013)

  Changed paths:
    M hw/ppc/mpc8544_guts.c

  Log Message:
  -----------
  mpc8544_guts: QOM'ify

Introduce type constant, cast macro and rename parent field.

Signed-off-by: Andreas Färber <address@hidden>
Signed-off-by: Alexander Graf <address@hidden>


  Commit: 7587ea5bcbdeb08a204b4c1d5afe039d47d613fa
      
https://github.com/qemu/qemu/commit/7587ea5bcbdeb08a204b4c1d5afe039d47d613fa
  Author: Andreas Färber <address@hidden>
  Date:   2013-06-30 (Sun, 30 Jun 2013)

  Changed paths:
    M hw/ppc/mpc8544_guts.c

  Log Message:
  -----------
  mpc8544_guts: Turn qdev initfn into instance_init

SysBus can deal with NULL SysBusDeviceClass::init since 4ce5dae.

Signed-off-by: Andreas Färber <address@hidden>
Signed-off-by: Alexander Graf <address@hidden>


  Commit: 1e3438df5a9e75355b36200f3bd8b94d1a32cc24
      
https://github.com/qemu/qemu/commit/1e3438df5a9e75355b36200f3bd8b94d1a32cc24
  Author: Andreas Färber <address@hidden>
  Date:   2013-06-30 (Sun, 30 Jun 2013)

  Changed paths:
    M target-ppc/translate_init.c

  Log Message:
  -----------
  target-ppc: Drop redundant flags assignments from CPU families

Previous code has #define POWERPC_INSNS2_<family> PPC_NONE in some
places for macrofied assignment to insns_flags2 field.

PPC_NONE is defined as zero though and QOM classes are zero-initialized,
so drop any pcc->insns_flags2 = PPC_NONE; assignments.

PPC_NONE itself is still in use in translate.c.

Suggested-by: Alexander Graf <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>
Signed-off-by: Alexander Graf <address@hidden>


  Commit: 9fea2ae25080ad790d7d904d01a1300a45a634eb
      
https://github.com/qemu/qemu/commit/9fea2ae25080ad790d7d904d01a1300a45a634eb
  Author: Hervé Poussineau <address@hidden>
  Date:   2013-06-30 (Sun, 30 Jun 2013)

  Changed paths:
    M target-ppc/translate_init.c

  Log Message:
  -----------
  ppc: do not register IABR SPR twice for 603e

IABR SPR is already registered in gen_spr_603(), called from init_proc_603E().

Signed-off-by: Hervé Poussineau <address@hidden>
Reviewed-by: Andreas Färber <address@hidden>
Signed-off-by: Alexander Graf <address@hidden>


  Commit: 159f8286b760deace1008f5f68a46cadba337780
      
https://github.com/qemu/qemu/commit/159f8286b760deace1008f5f68a46cadba337780
  Author: David Gibson <address@hidden>
  Date:   2013-06-30 (Sun, 30 Jun 2013)

  Changed paths:
    M hw/ppc/mac_newworld.c
    M hw/ppc/spapr.c

  Log Message:
  -----------
  target-ppc: Change default machine for 64-bit

Currently, for qemu-system-ppc64, the default machine type is 'mac99'.
The mac99 machine is not being actively maintained, and represents a
bizarre hybrid of components that never actually existed as a real system.
This patch changes the default machine to 'pseries', which is actively
maintained and works well with most modern ppc64 Linux distributions as a
guest.

Signed-off-by: David Gibson <address@hidden>
[agraf: adjust commit message]
Signed-off-by: Alexander Graf <address@hidden>


  Commit: 210b580b106fa798149e28aa13c66b325a43204e
      
https://github.com/qemu/qemu/commit/210b580b106fa798149e28aa13c66b325a43204e
  Author: Anthony Liguori <address@hidden>
  Date:   2013-06-30 (Sun, 30 Jun 2013)

  Changed paths:
    M hw/nvram/spapr_nvram.c
    M hw/ppc/spapr_events.c
    M hw/ppc/spapr_hcall.c
    M hw/ppc/spapr_pci.c
    M hw/ppc/spapr_rtas.c
    M hw/ppc/spapr_vio.c
    M hw/ppc/xics.c
    M include/hw/ppc/spapr.h

  Log Message:
  -----------
  spapr-rtas: add CPU argument to RTAS calls

RTAS is a hypervisor provided binary blob that a guest loads and
calls into to execute certain functions.  It's similar to the
vsyscall page in Linux or the short lived VMCI paravirt interface
from VMware.

The QEMU implementation of the RTAS blob is simply a passthrough
that proxies all RTAS calls to the hypervisor via an hypercall.

While we pass a CPU argument for hypercall handling in QEMU, we
don't pass it for RTAS calls.  Since some RTAs calls require
making hypercalls (normally RTAS is implemented as guest code) we
have nasty hacks to allow that.

Add a CPU argument to RTAS call handling so we can more easily
invoke hypercalls just as guest code would.

Signed-off-by: Anthony Liguori <address@hidden>
Signed-off-by: Alexander Graf <address@hidden>


  Commit: ec4936e1a49ef2d7129a1813ed7a3ca826698bfb
      
https://github.com/qemu/qemu/commit/ec4936e1a49ef2d7129a1813ed7a3ca826698bfb
  Author: Stefan Weil <address@hidden>
  Date:   2013-06-30 (Sun, 30 Jun 2013)

  Changed paths:
    M hw/ppc/spapr.c

  Log Message:
  -----------
  pseries: Fix compiler warning (conversion of pointer to integral value)

This kind of type cast must use uintptr_t or target_ulong to be portable
for hosts with sizeof(void *) != sizeof(long).

Here the value is assigned to a variable of type target_ulong.

Signed-off-by: Stefan Weil <address@hidden>
[agraf: fix compilation on 32bit hosts]
Signed-off-by: Alexander Graf <address@hidden>


  Commit: 4bddaf552c3a05e1fdd2c82d6b28ebc8f99269c9
      
https://github.com/qemu/qemu/commit/4bddaf552c3a05e1fdd2c82d6b28ebc8f99269c9
  Author: Alexey Kardashevskiy <address@hidden>
  Date:   2013-06-30 (Sun, 30 Jun 2013)

  Changed paths:
    M target-ppc/kvm.c

  Log Message:
  -----------
  target-ppc kvm: save cr register

This adds a missing code to save CR (condition register) via
kvm_arch_put_registers(). kvm_arch_get_registers() already has it.

Signed-off-by: Alexey Kardashevskiy <address@hidden>
Signed-off-by: David Gibson <address@hidden>
Signed-off-by: Alexander Graf <address@hidden>


  Commit: f9de2da728d885c5c246d6ba94edea067ad00434
      
https://github.com/qemu/qemu/commit/f9de2da728d885c5c246d6ba94edea067ad00434
  Author: David Gibson <address@hidden>
  Date:   2013-06-30 (Sun, 30 Jun 2013)

  Changed paths:
    M MAINTAINERS

  Log Message:
  -----------
  pseries: Update MAINTAINERS information

I'm no longer at IBM, and therefore no long actively working on the pseries
(aka sPAPR) qemu machine type.  This patch removes my information in the
MAINTAINERS file.

While we're at it, I've added some extra file patterns for pseries specific
files that weren't included in the existing pattern.

Signed-off-by: David Gibson <address@hidden>
[agraf: Remove new maintainer addition]
Signed-off-by: Alexander Graf <address@hidden>


  Commit: f1ff0e89c8287de79c804ec7a50d43f39a9f65dc
      
https://github.com/qemu/qemu/commit/f1ff0e89c8287de79c804ec7a50d43f39a9f65dc
  Author: Alexander Graf <address@hidden>
  Date:   2013-06-30 (Sun, 30 Jun 2013)

  Changed paths:
    M arch_init.c

  Log Message:
  -----------
  Graphics: Switch to 800x600x32 as default mode

We have stayed at 800x600x15 as default graphics mode for the last 9 years.
If there ever was a reason to be there, surely nobody remembers it.

However, recently non-Linux PPC guests started to show bad effects on 15 bit
color mode. They do work just fine with 32 bits however.

So let's switch to 32 bit color as the default graphic mode.

Reported-by: Mark Cave-Ayland <address@hidden>
Signed-off-by: Alexander Graf <address@hidden>


  Commit: ab8131afee34d6aa427bd56ac18c4d3b6df80728
      
https://github.com/qemu/qemu/commit/ab8131afee34d6aa427bd56ac18c4d3b6df80728
  Author: Bharat Bhushan <address@hidden>
  Date:   2013-06-30 (Sun, 30 Jun 2013)

  Changed paths:
    M hw/ppc/ppc_booke.c

  Log Message:
  -----------
  booke_ppc: limit booke timer to max when timeout overflow

Limit watchdog and fit timer to maximum timeout value which
qemu timer can support (INT64_MAX). This maximum timeout will be
hundreds of years, so limiting to max timeout is pretty safe.

Signed-off-by: Bharat Bhushan <address@hidden>
Signed-off-by: Alexander Graf <address@hidden>


  Commit: b048960f15dbedeceb4e1d7e469080cf68d4cf67
      
https://github.com/qemu/qemu/commit/b048960f15dbedeceb4e1d7e469080cf68d4cf67
  Author: Andreas Färber <address@hidden>
  Date:   2013-06-30 (Sun, 30 Jun 2013)

  Changed paths:
    M target-ppc/cpu.h
    M target-ppc/translate_init.c

  Log Message:
  -----------
  target-ppc: Introduce unrealizefn for PowerPCCPU

Use it to clean up the opcode table, resolving a former TODO from Jocelyn.
Also switch from malloc() to g_malloc().

Signed-off-by: Andreas Färber <address@hidden>
Signed-off-by: Alexander Graf <address@hidden>


  Commit: 886b75779104f38c30cc2594fcf2b214615a242d
      
https://github.com/qemu/qemu/commit/886b75779104f38c30cc2594fcf2b214615a242d
  Author: Fabien Chouteau <address@hidden>
  Date:   2013-06-30 (Sun, 30 Jun 2013)

  Changed paths:
    M target-ppc/mmu_helper.c

  Log Message:
  -----------
  PPC: Add dump_mmu() for 6xx

"(qemu) info tlb" is a very useful tool for debugging, so I implemented
the missing 6xx version.

Signed-off-by: Fabien Chouteau <address@hidden>
[agraf: fix printfs on hwaddr to PRI]
Signed-off-by: Alexander Graf <address@hidden>


  Commit: b177d8b77c7301da9b51b829b0edcff367e92023
      
https://github.com/qemu/qemu/commit/b177d8b77c7301da9b51b829b0edcff367e92023
  Author: Fabien Chouteau <address@hidden>
  Date:   2013-06-30 (Sun, 30 Jun 2013)

  Changed paths:
    M target-ppc/mmu_helper.c

  Log Message:
  -----------
  PPC: Fix GDB read on code area for PPC6xx

On PPC 6xx, data and code have separated TLBs. Until now QEMU was only
looking at data TLBs, which is not good when GDB wants to read code.

This patch adds a second call to get_physical_address() with an
ACCESS_CODE type of access when the first call with ACCESS_INT fails.

Signed-off-by: Fabien Chouteau <address@hidden>
Signed-off-by: Alexander Graf <address@hidden>


  Commit: 9761ad757182be663fa31af99abad959ac63b17f
      
https://github.com/qemu/qemu/commit/9761ad757182be663fa31af99abad959ac63b17f
  Author: Alexander Graf <address@hidden>
  Date:   2013-06-30 (Sun, 30 Jun 2013)

  Changed paths:
    M target-ppc/cpu-models.c
    M target-ppc/cpu-models.h
    M target-ppc/translate_init.c

  Log Message:
  -----------
  PPC: Introduce an alias cache for faster lookups

When running QEMU with "-cpu ?" we walk through every alias for every
target CPU we know about. This takes several seconds on my very fast
host system.

Let's introduce a class object cache in the alias table. Using that we
don't have to go through the tedious work of finding our target class.
Instead, we can just go directly from the alias name to the target class
pointer.

This patch brings -cpu "?" to reasonable times again.

Before:
  real    0m4.716s

After:
  real    0m0.025s

Signed-off-by: Alexander Graf <address@hidden>


  Commit: a1014f25ef54bbbdaf571873a1254f85d6dcf132
      
https://github.com/qemu/qemu/commit/a1014f25ef54bbbdaf571873a1254f85d6dcf132
  Author: Alexander Graf <address@hidden>
  Date:   2013-06-30 (Sun, 30 Jun 2013)

  Changed paths:
    M hw/ppc/mac_newworld.c
    M hw/ppc/mac_oldworld.c
    M include/hw/ppc/ppc.h

  Log Message:
  -----------
  PPC: Add clock-frequency export for Mac machines

Support in fwcfg has been around for exposure of the clock-frequency
CPU property. OpenBIOS reads it, we just never exposed it.

Since Mac OS X is very picky about its clock frequency values, let's
just take a known good value and always expose that.

Reported-by: Mark Cave-Ayland <address@hidden>
Signed-off-by: Alexander Graf <address@hidden>


  Commit: 4e46dcdbd31314c66fc19f73d9358852f77e8e2e
      
https://github.com/qemu/qemu/commit/4e46dcdbd31314c66fc19f73d9358852f77e8e2e
  Author: Alexander Graf <address@hidden>
  Date:   2013-06-30 (Sun, 30 Jun 2013)

  Changed paths:
    M hw/ppc/mac_newworld.c

  Log Message:
  -----------
  PPC: Newworld: Add uninorth token register

Mac OS X expects the uninorth control register set to contain one
register that always reads back what it writes in. Expose that.

This is just a temporary hack. Eventually, we want to expose the
uninorth (/uni-n in device tree) as a separate QOM device.

Signed-off-by: Alexander Graf <address@hidden>


  Commit: 593c18116090237db96af6e50b902d790265ebc5
      
https://github.com/qemu/qemu/commit/593c18116090237db96af6e50b902d790265ebc5
  Author: Alexander Graf <address@hidden>
  Date:   2013-06-30 (Sun, 30 Jun 2013)

  Changed paths:
    M hw/ppc/mac_newworld.c

  Log Message:
  -----------
  PPC: Newworld: Add second uninorth control register set

Mac OS X requires a second uninorth register set to be mapped a few
bytes above the first one. Let's just expose it to make it happy.

Signed-off-by: Alexander Graf <address@hidden>


  Commit: 0d54a5024f846ce7d53db25012fb4c7481e971ff
      
https://github.com/qemu/qemu/commit/0d54a5024f846ce7d53db25012fb4c7481e971ff
  Author: Alexander Graf <address@hidden>
  Date:   2013-06-30 (Sun, 30 Jun 2013)

  Changed paths:
    M hw/misc/macio/macio.c

  Log Message:
  -----------
  mac-io: Add escc-legacy memory alias region

Mac OS X's debugging serial driver accesses the ESCC through a different
register layout, called "escc-legacy". This layout differs from the normal
escc register layout purely by the location of the respective registers.

This patch adds a memory alias region that takes normal escc registers and
maps them into the escc-legacy register space.

With this patch applied, a Mac OS X guest successfully emits debug output
on the serial port when run with debug parameters set, for example by running:

  $ qemu-system-ppc -prom-env -'boot-args=-v debug=0x8 io=0xff serial=0x3' \
              -cdrom 10.4.iso -boot d

Signed-off-by: Alexander Graf <address@hidden>


  Commit: 2345f1c0146672ce6eb0025bd2cfa4afabdef5fd
      
https://github.com/qemu/qemu/commit/2345f1c0146672ce6eb0025bd2cfa4afabdef5fd
  Author: Alexander Graf <address@hidden>
  Date:   2013-06-30 (Sun, 30 Jun 2013)

  Changed paths:
    M target-ppc/translate_init.c

  Log Message:
  -----------
  PPC: Ignore writes to L2CR

The L2CR register contains a number of bits that either impose configuration
which we can't deal with or mean "something is in progress until the bit is
0 again".

Since we don't model the former and we do want to accomodate guests using the
latter semantics, let's just ignore writes to L2CR. That way guests always read
back 0 and are usually happy with that.

Signed-off-by: Alexander Graf <address@hidden>


  Commit: cc3ac9c4a6fd0574b767c599e4a582be8f23260d
      
https://github.com/qemu/qemu/commit/cc3ac9c4a6fd0574b767c599e4a582be8f23260d
  Author: Cornelia Huck <address@hidden>
  Date:   2013-07-01 (Mon, 01 Jul 2013)

  Changed paths:
    M hw/s390x/virtio-ccw.c
    M target-s390x/cpu.h
    M target-s390x/kvm.c

  Log Message:
  -----------
  virtio-ccw: fix build breakage on windows

event_notifier_get_fd() is not available on windows hosts. Fix this by
moving the calls to event_notifier_get_fd() to the kvm code.

Reported-by: Stefan Weil <address@hidden>
Reviewed-by: Paolo Bonzini <address@hidden>
Signed-off-by: Cornelia Huck <address@hidden>


  Commit: d75416ef29e477ebeadf9da41677be6f8166e8be
      
https://github.com/qemu/qemu/commit/d75416ef29e477ebeadf9da41677be6f8166e8be
  Author: Anthony Liguori <address@hidden>
  Date:   2013-07-01 (Mon, 01 Jul 2013)

  Changed paths:
    M hmp.c

  Log Message:
  -----------
  Merge remote-tracking branch 'luiz/queue/qmp' into staging

# By Kevin Wolf
# Via Luiz Capitulino
* luiz/queue/qmp:
  hmp: Make "info block" output more readable

Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: f7d1f9d4e74d66cc7c72de46575a61bd6b433360
      
https://github.com/qemu/qemu/commit/f7d1f9d4e74d66cc7c72de46575a61bd6b433360
  Author: Anthony Liguori <address@hidden>
  Date:   2013-07-01 (Mon, 01 Jul 2013)

  Changed paths:
    M hw/s390x/virtio-ccw.c
    M target-s390x/cpu.h
    M target-s390x/kvm.c

  Log Message:
  -----------
  Merge remote-tracking branch 'cohuck/virtio-ccw-upstr' into staging

# By Cornelia Huck
# Via Cornelia Huck
* cohuck/virtio-ccw-upstr:
  virtio-ccw: fix build breakage on windows

Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: 1acd5a373905ddb28957842256a038956941f332
      
https://github.com/qemu/qemu/commit/1acd5a373905ddb28957842256a038956941f332
  Author: Anthony Liguori <address@hidden>
  Date:   2013-07-01 (Mon, 01 Jul 2013)

  Changed paths:
    M MAINTAINERS
    M arch_init.c
    M cpus.c
    M default-configs/ppc-softmmu.mak
    M default-configs/ppc64-softmmu.mak
    M default-configs/ppcemb-softmmu.mak
    M hw/i386/kvm/ioapic.c
    M hw/intc/Makefile.objs
    M hw/intc/openpic.c
    A hw/intc/openpic_kvm.c
    M hw/misc/macio/macio.c
    M hw/nvram/spapr_nvram.c
    M hw/ppc/e500.c
    M hw/ppc/mac_newworld.c
    M hw/ppc/mac_oldworld.c
    M hw/ppc/mpc8544_guts.c
    M hw/ppc/ppc_booke.c
    M hw/ppc/spapr.c
    M hw/ppc/spapr_events.c
    M hw/ppc/spapr_hcall.c
    M hw/ppc/spapr_pci.c
    M hw/ppc/spapr_rtas.c
    M hw/ppc/spapr_vio.c
    M hw/ppc/xics.c
    M include/hw/ppc/openpic.h
    M include/hw/ppc/ppc.h
    M include/hw/ppc/spapr.h
    M include/sysemu/kvm.h
    M kvm-all.c
    M kvm-stub.c
    M target-ppc/Makefile.objs
    M target-ppc/cpu-models.c
    M target-ppc/cpu-models.h
    M target-ppc/cpu.h
    A target-ppc/kvm-stub.c
    M target-ppc/kvm.c
    M target-ppc/mmu_helper.c
    M target-ppc/translate_init.c

  Log Message:
  -----------
  Merge remote-tracking branch 'agraf/ppc-for-upstream' into staging

# By Alexander Graf (12) and others
# Via Alexander Graf
* agraf/ppc-for-upstream: (32 commits)
  PPC: Ignore writes to L2CR
  mac-io: Add escc-legacy memory alias region
  PPC: Newworld: Add second uninorth control register set
  PPC: Newworld: Add uninorth token register
  PPC: Add clock-frequency export for Mac machines
  PPC: Introduce an alias cache for faster lookups
  PPC: Fix GDB read on code area for PPC6xx
  PPC: Add dump_mmu() for 6xx
  target-ppc: Introduce unrealizefn for PowerPCCPU
  booke_ppc: limit booke timer to max when timeout overflow
  Graphics: Switch to 800x600x32 as default mode
  pseries: Update MAINTAINERS information
  target-ppc kvm: save cr register
  pseries: Fix compiler warning (conversion of pointer to integral value)
  spapr-rtas: add CPU argument to RTAS calls
  target-ppc: Change default machine for 64-bit
  ppc: do not register IABR SPR twice for 603e
  target-ppc: Drop redundant flags assignments from CPU families
  mpc8544_guts: Turn qdev initfn into instance_init
  mpc8544_guts: QOM'ify
  ...

Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


Compare: https://github.com/qemu/qemu/compare/ffeec223b55e...1acd5a373905

reply via email to

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