qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 5eba5a: Add bootloader name to multiboot impl


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 5eba5a: Add bootloader name to multiboot implementation
Date: Tue, 16 Dec 2014 05:00:07 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 5eba5a6632ff4b0aaa8cb6c806fa95758518a28d
      
https://github.com/qemu/qemu/commit/5eba5a6632ff4b0aaa8cb6c806fa95758518a28d
  Author: Drew DeVault <address@hidden>
  Date:   2014-12-15 (Mon, 15 Dec 2014)

  Changed paths:
    M hw/i386/multiboot.c

  Log Message:
  -----------
  Add bootloader name to multiboot implementation

The name is set to "qemu".

Signed-off-by: Drew DeVault <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
Signed-off-by: Drew DeVault <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 9551ea6991cfb7c777f7943ad69b30d0a4fadac3
      
https://github.com/qemu/qemu/commit/9551ea6991cfb7c777f7943ad69b30d0a4fadac3
  Author: Aurelien Jarno <address@hidden>
  Date:   2014-12-15 (Mon, 15 Dec 2014)

  Changed paths:
    M target-i386/ops_sse.h

  Log Message:
  -----------
  target-i386: simplify AES emulation

This patch simplifies the AES code, by directly accessing the newly added
S-Box, InvS-Box and InvMixColumns tables instead of recreating them by
using the AES_Te and AES_Td tables.

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


  Commit: f41389ae3c54bd5e2040e3f95a2872981c3ed965
      
https://github.com/qemu/qemu/commit/f41389ae3c54bd5e2040e3f95a2872981c3ed965
  Author: Eric Auger <address@hidden>
  Date:   2014-12-15 (Mon, 15 Dec 2014)

  Changed paths:
    M hw/intc/openpic_kvm.c
    M hw/intc/xics_kvm.c
    M include/sysemu/kvm.h
    M kvm-all.c
    M target-i386/kvm.c
    M target-s390x/kvm.c

  Log Message:
  -----------
  KVM_CAP_IRQFD and KVM_CAP_IRQFD_RESAMPLE checks

Compute kvm_irqfds_allowed by checking the KVM_CAP_IRQFD extension.
Remove direct settings in architecture specific files.

Add a new kvm_resamplefds_allowed variable, initialized by
checking the KVM_CAP_IRQFD_RESAMPLE extension. Add a corresponding
kvm_resamplefds_enabled() function.

A special notice for s390 where KVM_CAP_IRQFD was not immediatly
advirtised when irqfd capability was introduced in the kernel.
KVM_CAP_IRQ_ROUTING was advertised instead.

This was fixed in "KVM: s390: announce irqfd capability",
ebc3226202d5956a5963185222982d435378b899 whereas irqfd support
was brought in 84223598778ba08041f4297fda485df83414d57e,
"KVM: s390: irq routing for adapter interrupts".  Both commits
first appear in 3.15 so there should not be any kernel
version impacted by this QEMU modification.

Signed-off-by: Eric Auger <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 9fc0e2d8ac10c1bb08720b44a4cf9190f1ab4f9e
      
https://github.com/qemu/qemu/commit/9fc0e2d8ac10c1bb08720b44a4cf9190f1ab4f9e
  Author: Eric Auger <address@hidden>
  Date:   2014-12-15 (Mon, 15 Dec 2014)

  Changed paths:
    M hw/misc/vfio.c

  Log Message:
  -----------
  vfio: use kvm_resamplefds_enabled()

Use the kvm_resamplefds_enabled function

Signed-off-by: Eric Auger <address@hidden>
Acked-by: Alex Williamson <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: d229b985b504261369f2035936cc147c2606fa92
      
https://github.com/qemu/qemu/commit/d229b985b504261369f2035936cc147c2606fa92
  Author: Christian Borntraeger <address@hidden>
  Date:   2014-12-15 (Mon, 15 Dec 2014)

  Changed paths:
    M kvm-all.c

  Log Message:
  -----------
  valgrind: avoid false positives in KVM_GET_DIRTY_LOG ioctl

struct kvm_dirty_log contains padding fields that trigger false
positives in valgrind. Let's use a designated initializer to avoid
false positives from valgrind/memcheck.

Signed-off-by: Christian Borntraeger <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 5e0b7d8869a567d8f535f63510adf8f53ca438d3
      
https://github.com/qemu/qemu/commit/5e0b7d8869a567d8f535f63510adf8f53ca438d3
  Author: Christian Borntraeger <address@hidden>
  Date:   2014-12-15 (Mon, 15 Dec 2014)

  Changed paths:
    M hw/i386/kvm/clock.c

  Log Message:
  -----------
  valgrind/i386: avoid false positives on KVM_SET_CLOCK ioctl

kvm_clock_data contains pad fields. Let's use a designated
initializer to avoid false positives from valgrind/memcheck.

Signed-off-by: Christian Borntraeger <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: b0a0551283076c6f3e57cf2bdd525334009b2677
      
https://github.com/qemu/qemu/commit/b0a0551283076c6f3e57cf2bdd525334009b2677
  Author: Christian Borntraeger <address@hidden>
  Date:   2014-12-15 (Mon, 15 Dec 2014)

  Changed paths:
    M hw/i386/kvm/i8254.c

  Log Message:
  -----------
  valgrind/i386: avoid false positives on KVM_SET_PIT ioctl

struct kvm_pit_state2 contains pad fields. Let's use a designated
initializer to avoid false positives from valgrind/memcheck.

Signed-off-by: Christian Borntraeger <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: bdfc8480c50a53d91aa9a513d23a84de0d5fbc86
      
https://github.com/qemu/qemu/commit/bdfc8480c50a53d91aa9a513d23a84de0d5fbc86
  Author: Christian Borntraeger <address@hidden>
  Date:   2014-12-15 (Mon, 15 Dec 2014)

  Changed paths:
    M target-i386/kvm.c

  Log Message:
  -----------
  valgrind/i386: avoid false positives on KVM_SET_XCRS ioctl

struct kvm_xcrs contains padding bytes. Let's use a designated
initializer to avoid false positives from valgrind/memcheck.

Signed-off-by: Christian Borntraeger <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: c7fe4b12984a36b87438080e48aff5e8f6d48ac9
      
https://github.com/qemu/qemu/commit/c7fe4b12984a36b87438080e48aff5e8f6d48ac9
  Author: Christian Borntraeger <address@hidden>
  Date:   2014-12-15 (Mon, 15 Dec 2014)

  Changed paths:
    M target-i386/kvm.c

  Log Message:
  -----------
  valgrind/i386: avoid false positives on KVM_SET_MSRS ioctl

struct kvm_msrs contains padding bytes. Let's use a designated
initializer on the info part to avoid false positives from
valgrind/memcheck. Do the same for generic MSRS, the TSC and
feature control.

We also need to zero out the reserved fields in the entries.
We do this in kvm_msr_entry_set as suggested by Paolo. This
avoids a big memset that a designated initializer on the
full structure would do.

Signed-off-by: Christian Borntraeger <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: d19ae73e987ecc13a89c0830b501341103d06982
      
https://github.com/qemu/qemu/commit/d19ae73e987ecc13a89c0830b501341103d06982
  Author: Christian Borntraeger <address@hidden>
  Date:   2014-12-15 (Mon, 15 Dec 2014)

  Changed paths:
    M target-i386/kvm.c

  Log Message:
  -----------
  valgrind/i386: avoid false positives on KVM_GET_MSRS ioctl

struct kvm_msrs contains a pad field. Let's use a designated
initializer on the info part to avoid false positives from
valgrind/memcheck.

Signed-off-by: Christian Borntraeger <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 076796f8fd27f4d014fe2efb6372f1cdc1df9a41
      
https://github.com/qemu/qemu/commit/076796f8fd27f4d014fe2efb6372f1cdc1df9a41
  Author: Christian Borntraeger <address@hidden>
  Date:   2014-12-15 (Mon, 15 Dec 2014)

  Changed paths:
    M target-i386/kvm.c

  Log Message:
  -----------
  valgrind/i386: avoid false positives on KVM_SET_VCPU_EVENTS ioctl

struct kvm_vcpu_events contains reserved fields. Let's use a
designated initializer to avoid false positives in valgrind.

Signed-off-by: Christian Borntraeger <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: e6eef7c221634c942e9f586df84aae623aa06cd5
      
https://github.com/qemu/qemu/commit/e6eef7c221634c942e9f586df84aae623aa06cd5
  Author: Christian Borntraeger <address@hidden>
  Date:   2014-12-15 (Mon, 15 Dec 2014)

  Changed paths:
    M target-s390x/kvm.c

  Log Message:
  -----------
  valgrind/s390x: avoid false positives on KVM_SET_FPU ioctl

struct kvm_fpu contains an alignment padding on s390x. Let's use a
designated initializer to avoid false positives from valgrind/memcheck.

Signed-off-by: Christian Borntraeger <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: e9af2fef242ce92f86d3d5c1a94c3199ff1e24c9
      
https://github.com/qemu/qemu/commit/e9af2fef242ce92f86d3d5c1a94c3199ff1e24c9
  Author: Christian Borntraeger <address@hidden>
  Date:   2014-12-15 (Mon, 15 Dec 2014)

  Changed paths:
    M kvm-all.c

  Log Message:
  -----------
  coverity/s390x: avoid false positive in kvm_irqchip_add_adapter_route

Paolo Bonzini reported that Coverity reports an uninitialized pad value.
Let's use a designated initializer for kvm_irq_routing_entry to avoid
this false positive. This is similar to kvm_irqchip_add_msi_route and
other users of kvm_irq_routing_entry.

Signed-off-by: Christian Borntraeger <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 0bb0b2d2fe7f645ddaf1f0ff40ac669c9feb4aa1
      
https://github.com/qemu/qemu/commit/0bb0b2d2fe7f645ddaf1f0ff40ac669c9feb4aa1
  Author: Paolo Bonzini <address@hidden>
  Date:   2014-12-15 (Mon, 15 Dec 2014)

  Changed paths:
    M target-i386/cpu.c
    M target-i386/cpu.h

  Log Message:
  -----------
  target-i386: add feature flags for CPUID[EAX=0xd,ECX=1]

These represent xsave-related capabilities of the processor, and KVM may
or may not support them.

Add feature bits so that they are considered by "-cpu ...,enforce", and use
the new feature work instead of calling kvm_arch_get_supported_cpuid.

Bit 3 (XSAVES) is not migratables because it requires saving MSR_IA32_XSS.
Neither KVM nor any commonly available hardware supports it anyway.

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


  Commit: 906b53a2de31a4612e94000f7cfe3a8e4b002f25
      
https://github.com/qemu/qemu/commit/906b53a2de31a4612e94000f7cfe3a8e4b002f25
  Author: Paolo Bonzini <address@hidden>
  Date:   2014-12-15 (Mon, 15 Dec 2014)

  Changed paths:
    M target-mips/kvm.c

  Log Message:
  -----------
  target-mips: kvm: do not use get_clock()

Use the external qemu-timer API instead.

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


  Commit: 18cd2c17b5370369a886155c001da0a7f54bbcca
      
https://github.com/qemu/qemu/commit/18cd2c17b5370369a886155c001da0a7f54bbcca
  Author: Wanpeng Li <address@hidden>
  Date:   2014-12-15 (Mon, 15 Dec 2014)

  Changed paths:
    M target-i386/cpu.c
    M target-i386/cpu.h
    M target-i386/kvm.c
    M target-i386/machine.c

  Log Message:
  -----------
  target-i386: get/set/migrate XSAVES state

Add xsaves related definition, it also adds corresponding part
to kvm_get/put, and vmstate.

Signed-off-by: Wanpeng Li <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 18fc80553420a3188336baeeb542e9f2d1ada13b
      
https://github.com/qemu/qemu/commit/18fc80553420a3188336baeeb542e9f2d1ada13b
  Author: Markus Armbruster <address@hidden>
  Date:   2014-12-15 (Mon, 15 Dec 2014)

  Changed paths:
    M hw/i386/pc_sysfw.c

  Log Message:
  -----------
  x86: Drop superfluous conditionals around g_free()

Signed-off-by: Markus Armbruster <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 4be34d1e2140b6d1be611c4bfa542c54c232520b
      
https://github.com/qemu/qemu/commit/4be34d1e2140b6d1be611c4bfa542c54c232520b
  Author: Markus Armbruster <address@hidden>
  Date:   2014-12-15 (Mon, 15 Dec 2014)

  Changed paths:
    M target-i386/arch_dump.c

  Log Message:
  -----------
  x86: Fuse g_malloc(); memset() into g_malloc0()

Coccinelle semantic patch:

    @@
    expression LHS, SZ;
    @@
    -       LHS = g_malloc(SZ);
    -       memset(LHS, 0, SZ);
    +       LHS = g_malloc0(SZ);

Signed-off-by: Markus Armbruster <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: ab3ad07f89c7f9e03c17c98e1d1a02dbf61c605c
      
https://github.com/qemu/qemu/commit/ab3ad07f89c7f9e03c17c98e1d1a02dbf61c605c
  Author: Markus Armbruster <address@hidden>
  Date:   2014-12-15 (Mon, 15 Dec 2014)

  Changed paths:
    M hw/i386/pc.c
    M target-i386/kvm.c

  Log Message:
  -----------
  x86: Use g_new() & friends where that makes obvious sense

g_new(T, n) is neater than g_malloc(sizeof(T) * n).  It's also safer,
for two reasons.  One, it catches multiplication overflowing size_t.
Two, it returns T * rather than void *, which lets the compiler catch
more type errors.

This commit only touches allocations with size arguments of the form
sizeof(T).

Signed-off-by: Markus Armbruster <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: e42a92ae640dc22ecb4eb7705ddfe89aeadb92cc
      
https://github.com/qemu/qemu/commit/e42a92ae640dc22ecb4eb7705ddfe89aeadb92cc
  Author: Markus Armbruster <address@hidden>
  Date:   2014-12-15 (Mon, 15 Dec 2014)

  Changed paths:
    M target-i386/cpu.c
    M target-i386/kvm.c

  Log Message:
  -----------
  x86: Drop some superfluous casts from void *

Signed-off-by: Markus Armbruster <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 1c3381af327b5f94a10942a3c25777a57fcdd85e
      
https://github.com/qemu/qemu/commit/1c3381af327b5f94a10942a3c25777a57fcdd85e
  Author: Markus Armbruster <address@hidden>
  Date:   2014-12-15 (Mon, 15 Dec 2014)

  Changed paths:
    M hw/scsi/scsi-generic.c

  Log Message:
  -----------
  scsi: Drop superfluous conditionals around g_free()

Signed-off-by: Markus Armbruster <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Reviewed-by: Fam Zheng <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 0bd0adbe5b438cabbf02230dba1be4c209158f57
      
https://github.com/qemu/qemu/commit/0bd0adbe5b438cabbf02230dba1be4c209158f57
  Author: Markus Armbruster <address@hidden>
  Date:   2014-12-15 (Mon, 15 Dec 2014)

  Changed paths:
    M hw/scsi/megasas.c

  Log Message:
  -----------
  scsi: Fuse g_malloc(); memset() into g_malloc0()

Coccinelle semantic patch:

    @@
    expression LHS, SZ;
    @@
    -       LHS = g_malloc(SZ);
    -       memset(LHS, 0, SZ);
    +       LHS = g_malloc0(SZ);

Signed-off-by: Markus Armbruster <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Reviewed-by: Fam Zheng <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 3c55fe2a13353b3ddf1db51c34ada23d161ee428
      
https://github.com/qemu/qemu/commit/3c55fe2a13353b3ddf1db51c34ada23d161ee428
  Author: Markus Armbruster <address@hidden>
  Date:   2014-12-15 (Mon, 15 Dec 2014)

  Changed paths:
    M hw/scsi/lsi53c895a.c
    M hw/scsi/virtio-scsi.c

  Log Message:
  -----------
  scsi: Use g_new() & friends where that makes obvious sense

g_new(T, n) is neater than g_malloc(sizeof(T) * n).  It's also safer,
for two reasons.  One, it catches multiplication overflowing size_t.
Two, it returns T * rather than void *, which lets the compiler catch
more type errors.

This commit only touches allocations with size arguments of the form
sizeof(T).

Signed-off-by: Markus Armbruster <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Reviewed-by: Fam Zheng <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: f8e1f53334700950eb6691076d51c7d60f1c28f7
      
https://github.com/qemu/qemu/commit/f8e1f53334700950eb6691076d51c7d60f1c28f7
  Author: Paolo Bonzini <address@hidden>
  Date:   2014-12-15 (Mon, 15 Dec 2014)

  Changed paths:
    M hw/scsi/scsi-disk.c

  Log Message:
  -----------
  scsi-disk: provide maximum transfer length

The QEMU block layer has a limit of INT_MAX bytes per transfer.

Expose it in the block limits VPD page for both regular transfers
and WRITE SAME.

Reported-by: Ming Lei <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: b4ac20b4df0d1eaa5d546ccb84751e3e97d257fd
      
https://github.com/qemu/qemu/commit/b4ac20b4df0d1eaa5d546ccb84751e3e97d257fd
  Author: Pavel Dovgalyuk <address@hidden>
  Date:   2014-12-15 (Mon, 15 Dec 2014)

  Changed paths:
    M cpu-exec.c

  Log Message:
  -----------
  cpu-exec: fix cpu_exec_nocache

In icount mode cpu_exec_nocache function is used to execute part of the
existing TB. At the end of cpu_exec_nocache newly created TB is deleted.
Sometimes io_read function needs to recompile current TB and restart TB
lookup and execution. After that tb_find_fast function finds old (bigger)
TB again. This TB cannot be executed (because icount is not big enough)
and cpu_exec_nocache is called again. Such a loop continues over and over.
This patch deletes old TB and avoids finding it in the TB cache.

Signed-off-by: Pavel Dovgalyuk <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: e511b4d783c47a32420da802104cfb0eb974b22f
      
https://github.com/qemu/qemu/commit/e511b4d783c47a32420da802104cfb0eb974b22f
  Author: Pavel Dovgalyuk <address@hidden>
  Date:   2014-12-15 (Mon, 15 Dec 2014)

  Changed paths:
    M cpu-exec.c
    M cpus.c

  Log Message:
  -----------
  cpu-exec: reset exception_index correctly

Exception index is reset at every entry at every entry into cpu_exec()
function. This may cause missing the exceptions while replaying them.
This patch moves exception_index reset to the locations where they are
processed.

Signed-off-by: Pavel Dovgalyuk <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 626cf8f4c6157ed133f0daa89b90d4169060bc97
      
https://github.com/qemu/qemu/commit/626cf8f4c6157ed133f0daa89b90d4169060bc97
  Author: Pavel Dovgalyuk <address@hidden>
  Date:   2014-12-15 (Mon, 15 Dec 2014)

  Changed paths:
    M cpu-exec.c
    M cpus.c

  Log Message:
  -----------
  icount: set can_do_io outside TB execution

This patch sets can_do_io function to allow reading icount
within cpu-exec, but outside TB execution.

Signed-off-by: Pavel Dovgalyuk <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 2a62914bd8209d97e918f30f0de74bec2bf622c4
      
https://github.com/qemu/qemu/commit/2a62914bd8209d97e918f30f0de74bec2bf622c4
  Author: Pavel Dovgalyuk <address@hidden>
  Date:   2014-12-15 (Mon, 15 Dec 2014)

  Changed paths:
    M cpus.c
    M include/qemu/timer.h

  Log Message:
  -----------
  icount: introduce cpu_get_icount_raw

Separate accessing the instruction counter from the compensation for
speed and halting that are introduced by qemu_icount_bias.  This
introduces new infrastructure used by the record/replay patches.

Signed-off-by: Pavel Dovgalyuk <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: d8a499f17ee5f05407874f29f69f0e3e3198a853
      
https://github.com/qemu/qemu/commit/d8a499f17ee5f05407874f29f69f0e3e3198a853
  Author: Pavel Dovgalyuk <address@hidden>
  Date:   2014-12-15 (Mon, 15 Dec 2014)

  Changed paths:
    M cpu-exec.c
    M include/exec/exec-all.h
    M translate-all.c

  Log Message:
  -----------
  cpu-exec: invalidate nocache translation if they are interrupted

In this case, QEMU might longjmp out of cpu-exec.c and miss the final
cleanup in cpu_exec_nocache.  Do this manually through a new compile
flag.

Signed-off-by: Pavel Dovgalyuk <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 4e7fa73ec2516334b58e82f9a5649b1468b1eb7a
      
https://github.com/qemu/qemu/commit/4e7fa73ec2516334b58e82f9a5649b1468b1eb7a
  Author: Pavel Dovgalyuk <address@hidden>
  Date:   2014-12-15 (Mon, 15 Dec 2014)

  Changed paths:
    M include/qemu/timer.h
    M qemu-timer.c

  Log Message:
  -----------
  timer: introduce new QEMU_CLOCK_VIRTUAL_RT clock

This patch introduces new QEMU_CLOCK_VIRTUAL_RT clock, which
should be used for icount warping.  In the next patch, it
will be used to avoid a huge icount warp when a virtual
machine is stopped for a long time.

Signed-off-by: Pavel Dovgalyuk <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: bf2a7ddb0a066c27ed1432b918baa046b6b7dfc5
      
https://github.com/qemu/qemu/commit/bf2a7ddb0a066c27ed1432b918baa046b6b7dfc5
  Author: Pavel Dovgalyuk <address@hidden>
  Date:   2014-12-15 (Mon, 15 Dec 2014)

  Changed paths:
    M cpus.c
    M include/qemu/timer.h

  Log Message:
  -----------
  cpus: make icount warp behave well with respect to stop/cont

This patch makes icount warp use the new QEMU_CLOCK_VIRTUAL_RT clock.
This way, icount's QEMU_CLOCK_VIRTUAL will never count time during which
the virtual machine is stopped.

Signed-off-by: Pavel Dovgalyuk <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 5b9efc39aee90bbd343793e942bf8f582a0c9e4f
      
https://github.com/qemu/qemu/commit/5b9efc39aee90bbd343793e942bf8f582a0c9e4f
  Author: Pavel Dovgalyuk <address@hidden>
  Date:   2014-12-15 (Mon, 15 Dec 2014)

  Changed paths:
    M target-i386/cpu.h
    M target-i386/translate.c

  Log Message:
  -----------
  i386: do not cross the pages boundaries in replay mode

This patch denies crossing the boundary of the pages in the replay mode,
because it can cause an exception. Do it only when boundary is
crossed by the first instruction in the block.
If current instruction already crossed the bound - it's ok,
because an exception hasn't stopped this code.

Signed-off-by: Pavel Dovgalyuk <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 64bbd372f21dac51cbbb6ba4a52fb0ecb21ca159
      
https://github.com/qemu/qemu/commit/64bbd372f21dac51cbbb6ba4a52fb0ecb21ca159
  Author: Paolo Bonzini <address@hidden>
  Date:   2014-12-15 (Mon, 15 Dec 2014)

  Changed paths:
    M hw/i386/pc_piix.c
    M hw/i386/pc_q35.c

  Log Message:
  -----------
  pc: add 2.3 machine types

The next patch will differentiate them.

Reviewed-by: Eduardo Habkost <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: b3a4f0b1a072a467d003755ca0e55c5be38387cb
      
https://github.com/qemu/qemu/commit/b3a4f0b1a072a467d003755ca0e55c5be38387cb
  Author: Paolo Bonzini <address@hidden>
  Date:   2014-12-15 (Mon, 15 Dec 2014)

  Changed paths:
    M hw/i386/pc_piix.c
    M hw/i386/pc_q35.c
    M target-i386/cpu.c

  Log Message:
  -----------
  target-i386: add VME to all CPUs

vm86 mode extensions date back to the 486.  All models should have
them.

Signed-off-by: Paolo Bonzini <address@hidden>
Signed-off-by: Eduardo Habkost <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 78a611f1936b3eac8ed78a2be2146a742a85212c
      
https://github.com/qemu/qemu/commit/78a611f1936b3eac8ed78a2be2146a742a85212c
  Author: Paolo Bonzini <address@hidden>
  Date:   2014-12-15 (Mon, 15 Dec 2014)

  Changed paths:
    M hw/i386/pc_piix.c
    M hw/i386/pc_q35.c
    M target-i386/cpu.c

  Log Message:
  -----------
  target-i386: add f16c and rdrand to Haswell and Broadwell

Both were added in Ivy Bridge (for which we do not have a CPU model
yet!).

Reviewed-by: Eduardo Habkost <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 2f9ac42acf4602453d5839221df6cc7cabc3355e
      
https://github.com/qemu/qemu/commit/2f9ac42acf4602453d5839221df6cc7cabc3355e
  Author: Paolo Bonzini <address@hidden>
  Date:   2014-12-15 (Mon, 15 Dec 2014)

  Changed paths:
    M target-i386/cpu.c

  Log Message:
  -----------
  target-i386: add Ivy Bridge CPU model

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


  Commit: 575a6f4082c45778b93032ef1e7fbea4467b3a2a
      
https://github.com/qemu/qemu/commit/575a6f4082c45778b93032ef1e7fbea4467b3a2a
  Author: Paolo Bonzini <address@hidden>
  Date:   2014-12-15 (Mon, 15 Dec 2014)

  Changed paths:
    M hw/i386/kvm/apic.c
    M hw/intc/apic_common.c
    M include/hw/i386/apic_internal.h

  Log Message:
  -----------
  kvm/apic: fix 2.2->2.1 migration

The wait_for_sipi field is set back to 1 after an INIT, so it was not
effective to reset it in kvm_apic_realize.  Introduce a reset callback
and reset wait_for_sipi there.

Reported-by: Igor Mammedov <address@hidden>
Cc: address@hidden
Reviewed-by: Dr. David Alan Gilbert <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 269e2358492b674c50160553d037702e916b9f1b
      
https://github.com/qemu/qemu/commit/269e2358492b674c50160553d037702e916b9f1b
  Author: Paolo Bonzini <address@hidden>
  Date:   2014-12-15 (Mon, 15 Dec 2014)

  Changed paths:
    M pc-bios/linuxboot.bin
    M pc-bios/optionrom/linuxboot.S

  Log Message:
  -----------
  linuxboot: fix loading old kernels

Old kernels that used high memory only allowed the initrd to be in the
first 896MB of memory.  If you load the initrd above, they complain
that "initrd extends beyond end of memory".

In order to fix this, while not breaking machines with small amounts
of memory fixed by cdebec5 (linuxboot: compute initrd loading address,
2014-10-06), we need to distinguish two cases.  If pc.c placed the
initrd at end of memory, use the new algorithm based on the e801
memory map.  If instead pc.c placed the initrd at the maximum address
specified by the bzImage, leave it there.

The only interesting part is that the low-memory info block is now
loaded very early, in real mode, and thus the 32-bit address has
to be converted into a real mode segment.  The initrd address is
also patched in the info block before entering real mode, it is
simpler that way.

This fixes booting the RHEL4.8 32-bit installation image with 1GB
of RAM.

Cc: address@hidden
Cc: address@hidden
Cc: address@hidden
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 4e02b0fcf5c97579d0d3261c80c65abcf92870fe
      
https://github.com/qemu/qemu/commit/4e02b0fcf5c97579d0d3261c80c65abcf92870fe
  Author: Paolo Bonzini <address@hidden>
  Date:   2014-12-15 (Mon, 15 Dec 2014)

  Changed paths:
    M hw/char/serial.c

  Log Message:
  -----------
  serial: reset thri_pending on IER writes with THRI=0

This is responsible for failure of migration from 2.2 to 2.1, because
thr_ipending is always one in practice.

serial.c is setting thr_ipending unconditionally.  However, thr_ipending
is not used at all if THRI=0, and it will be overwritten again the next
time THRE or THRI changes.  For that reason, we can set thr_ipending to
zero every time THRI is reset.

There is disagreement on whether LSR.THRE should be resampled when IER.THRI
goes from 1 to 1.  This patch does not touch the code, leaving that for
QEMU 2.3+.

This has no semantic change and is enough to fix migration in the common
case where the interrupt is not pending or is reported in IIR.  It does not
change the migration format, so 2.2.0 -> 2.1 will remain broken but we
can fix 2.2.1 -> 2.1 without breaking 2.2.1 <-> 2.2.0.

The case that remains broken (the one in which the subsection is strictly
necessary) is when THRE=1, the THRI interrupt has *not* been acknowledged
yet, and a higher-priority interrupt comes.  In this case, you need the
subsection to tell the source that the lower-priority THRI interrupt is
pending.  The subsection's breakage of migration, in this case, prevents
continuing the VM on the destination with an invalid state.

Cc: address@hidden
Reported-by: Igor Mammedov <address@hidden>
Reviewed-by: Dr. David Alan Gilbert <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 0d931d706266d6ada3bf22d3afca1afdc8d12fa9
      
https://github.com/qemu/qemu/commit/0d931d706266d6ada3bf22d3afca1afdc8d12fa9
  Author: Paolo Bonzini <address@hidden>
  Date:   2014-12-15 (Mon, 15 Dec 2014)

  Changed paths:
    M hw/char/serial.c

  Log Message:
  -----------
  serial: clean up THRE/TEMT handling

- assert TEMT is cleared before sending a character; we'll get one from
TSR if tsr_retry > 0, from the FIFO or THR otherwise

- assert THRE cleared and FIFO not empty (if enabled) before fetching a
character to send.  This effectively reverts dffacd46, but the check
makes no sense and commit f702e62 (serial: change retry logic to avoid
concurrency, 2014-07-11) must have made it unnecessary.  The commit
message for f702e62 talks about multiple calls to qemu_chr_fe_add_watch
triggering s->tsr_retry >= MAX_XMIT_RETRY, but other failures were
possible.  For example, if you have multiple calls, the subsequent ones
will see s->tsr_retry == 0 and will find THRE and/or TEMT on entry.

- for clarity, raise THRI immediately after the code sets THRE

- check THRE to see if another character has to be sent.  This makes
the assertions more obvious and also means TEMT has to be set as soon as
the loop ends.  It makes the loop send both TSR and THR if flow-control
happens in non-FIFO mode.  Previously, THR would be lost.

- clear TEMT together with THRE even in the non-FIFO case

The last two items are bugfixes, but they were just found by inspection
and do not squash known bugs.

Reviewed-by: Dr. David Alan Gilbert <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 023c3a9707d0d9259a1e858cdf7804dd10973fca
      
https://github.com/qemu/qemu/commit/023c3a9707d0d9259a1e858cdf7804dd10973fca
  Author: Paolo Bonzini <address@hidden>
  Date:   2014-12-15 (Mon, 15 Dec 2014)

  Changed paths:
    M hw/char/serial.c

  Log Message:
  -----------
  serial: update LSR on enabling/disabling FIFOs

When the transmit FIFO is emptied or enabled, the transmitter
hold register is empty.  When it is disabled, it is also emptied and
in addition the previous contents of the transmitter hold register
are discarded.  In either case, the THRE bit in LSR must be set and
THRI raised.

When the receive FIFO is emptied or enabled, the data ready and break
bits must be cleared in LSR.  Likewise when the receive FIFO is disabled.

Reviewed-by: Dr. David Alan Gilbert <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 1645b8eee558ffe2389a081bf61d08a864c36d2c
      
https://github.com/qemu/qemu/commit/1645b8eee558ffe2389a081bf61d08a864c36d2c
  Author: Paolo Bonzini <address@hidden>
  Date:   2014-12-15 (Mon, 15 Dec 2014)

  Changed paths:
    M hw/char/serial.c

  Log Message:
  -----------
  serial: only resample THR interrupt on rising edge of IER.THRI

There is disagreement on whether LSR.THRE should be resampled when
IER.THRI goes from 1 to 1.  Bochs only does it if IER.THRI goes from 0
to 1; PCE does it even if IER.THRI is unchanged.  But the Windows driver
seems to always go from 1 to 0 and back to 1, so do things in agreement
with Bochs, because the handling of thr_ipending was reported in 2010
(https://lists.gnu.org/archive/html/qemu-devel/2010-03/msg01914.html)
as breaking DR-DOS Plus.

Reported-by: Roy Tam <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: c7ff8daacf4a669f9ab5a975f33a51ef901b7556
      
https://github.com/qemu/qemu/commit/c7ff8daacf4a669f9ab5a975f33a51ef901b7556
  Author: Kevin O'Connor <address@hidden>
  Date:   2014-12-15 (Mon, 15 Dec 2014)

  Changed paths:
    M hw/sd/sdhci.c

  Log Message:
  -----------
  sdhci: Set a default frequency clock

The Linux SDHCI PCI driver will only register the device if there is a
clock frequency set.  So, set a default frequency of 52Mhz.

Signed-off-by: Kevin O'Connor <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: d368ba4376b2c1c24175c74b3733b8fe64dbe8a6
      
https://github.com/qemu/qemu/commit/d368ba4376b2c1c24175c74b3733b8fe64dbe8a6
  Author: Kevin O'Connor <address@hidden>
  Date:   2014-12-15 (Mon, 15 Dec 2014)

  Changed paths:
    M hw/sd/sdhci.c
    M hw/sd/sdhci.h

  Log Message:
  -----------
  sdhci: Remove class "virtual" methods

The SDHCIClass defines a series of class "methods".  However, no code
in the QEMU tree overrides these methods or even uses them outside of
sdhci.c.

Remove the virtual methods and replace them with direct calls to the
underlying functions.  This simplifies the process of extending the
sdhci code to support PCI devices (which have a different parent
class).

Signed-off-by: Kevin O'Connor <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 7302dcd60bbde1b11c298feb8134a34791f21b21
      
https://github.com/qemu/qemu/commit/7302dcd60bbde1b11c298feb8134a34791f21b21
  Author: Kevin O'Connor <address@hidden>
  Date:   2014-12-15 (Mon, 15 Dec 2014)

  Changed paths:
    M hw/sd/sdhci.c
    M hw/sd/sdhci.h

  Log Message:
  -----------
  sdhci: Add "sysbus" to sdhci QOM types and methods

Update the sdhci sysbus QOM types and methods so that sysbus is in
their name.  This is in preparation for adding PCI versions of these
types and methods.

Signed-off-by: Kevin O'Connor <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: ece5e5bfa1377546d5f94e1bb04298e48ce60c1c
      
https://github.com/qemu/qemu/commit/ece5e5bfa1377546d5f94e1bb04298e48ce60c1c
  Author: Kevin O'Connor <address@hidden>
  Date:   2014-12-15 (Mon, 15 Dec 2014)

  Changed paths:
    M docs/specs/pci-ids.txt
    M include/hw/pci/pci.h
    M include/hw/pci/pci_ids.h

  Log Message:
  -----------
  sdhci: Define SDHCI PCI ids

Signed-off-by: Kevin O'Connor <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 224d10ff5aea9e74a1792fc21188bc9752c43ee9
      
https://github.com/qemu/qemu/commit/224d10ff5aea9e74a1792fc21188bc9752c43ee9
  Author: Kevin O'Connor <address@hidden>
  Date:   2014-12-15 (Mon, 15 Dec 2014)

  Changed paths:
    M default-configs/pci.mak
    M hw/sd/sdhci.c
    M hw/sd/sdhci.h

  Log Message:
  -----------
  sdhci: Support SDHCI devices on PCI

Support for PCI devices following the "SD Host Controller Simplified
Specification Version 2.00" spec.

Signed-off-by: Kevin O'Connor <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: dfa9c2a0f4d0a0c8b2c1449ecdbb1297427e1560
      
https://github.com/qemu/qemu/commit/dfa9c2a0f4d0a0c8b2c1449ecdbb1297427e1560
  Author: Peter Maydell <address@hidden>
  Date:   2014-12-15 (Mon, 15 Dec 2014)

  Changed paths:
    M cpu-exec.c
    M cpus.c
    M default-configs/pci.mak
    M docs/specs/pci-ids.txt
    M hw/char/serial.c
    M hw/i386/kvm/apic.c
    M hw/i386/kvm/clock.c
    M hw/i386/kvm/i8254.c
    M hw/i386/multiboot.c
    M hw/i386/pc.c
    M hw/i386/pc_piix.c
    M hw/i386/pc_q35.c
    M hw/i386/pc_sysfw.c
    M hw/intc/apic_common.c
    M hw/intc/openpic_kvm.c
    M hw/intc/xics_kvm.c
    M hw/misc/vfio.c
    M hw/scsi/lsi53c895a.c
    M hw/scsi/megasas.c
    M hw/scsi/scsi-disk.c
    M hw/scsi/scsi-generic.c
    M hw/scsi/virtio-scsi.c
    M hw/sd/sdhci.c
    M hw/sd/sdhci.h
    M include/exec/exec-all.h
    M include/hw/i386/apic_internal.h
    M include/hw/pci/pci.h
    M include/hw/pci/pci_ids.h
    M include/qemu/timer.h
    M include/sysemu/kvm.h
    M kvm-all.c
    M pc-bios/linuxboot.bin
    M pc-bios/optionrom/linuxboot.S
    M qemu-timer.c
    M target-i386/arch_dump.c
    M target-i386/cpu.c
    M target-i386/cpu.h
    M target-i386/kvm.c
    M target-i386/machine.c
    M target-i386/ops_sse.h
    M target-i386/translate.c
    M target-mips/kvm.c
    M target-s390x/kvm.c
    M translate-all.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into staging

- Migration and linuxboot fixes for 2.2 regressions
- valgrind/KVM support
- small i386 patches
- PCI SD host controller support
- malloc/free cleanups from Markus (x86/scsi)
- IvyBridge model
- XSAVES support for KVM
- initial patches from record/replay

# gpg: Signature made Mon 15 Dec 2014 16:35:08 GMT using RSA key ID 78C7AE83
# gpg: Good signature from "Paolo Bonzini <address@hidden>"
# gpg:                 aka "Paolo Bonzini <address@hidden>"
# gpg: WARNING: This key is not certified with sufficiently trusted signatures!
# gpg:          It is not certain that the signature belongs to the owner.
# Primary key fingerprint: 46F5 9FBD 57D6 12E7 BFD4  E2F7 7E15 100C CD36 69B1
#      Subkey fingerprint: F133 3857 4B66 2389 866C  7682 BFFB D25F 78C7 AE83

* remotes/bonzini/tags/for-upstream: (47 commits)
  sdhci: Support SDHCI devices on PCI
  sdhci: Define SDHCI PCI ids
  sdhci: Add "sysbus" to sdhci QOM types and methods
  sdhci: Remove class "virtual" methods
  sdhci: Set a default frequency clock
  serial: only resample THR interrupt on rising edge of IER.THRI
  serial: update LSR on enabling/disabling FIFOs
  serial: clean up THRE/TEMT handling
  serial: reset thri_pending on IER writes with THRI=0
  linuxboot: fix loading old kernels
  kvm/apic: fix 2.2->2.1 migration
  target-i386: add Ivy Bridge CPU model
  target-i386: add f16c and rdrand to Haswell and Broadwell
  target-i386: add VME to all CPUs
  pc: add 2.3 machine types
  i386: do not cross the pages boundaries in replay mode
  cpus: make icount warp behave well with respect to stop/cont
  timer: introduce new QEMU_CLOCK_VIRTUAL_RT clock
  cpu-exec: invalidate nocache translation if they are interrupted
  icount: introduce cpu_get_icount_raw
  ...

Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/54600752a1dd...dfa9c2a0f4d0

reply via email to

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