qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 4b7a6b: target-arm: kvm: Differentiate regist


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 4b7a6b: target-arm: kvm: Differentiate registers based on ...
Date: Tue, 21 Jul 2015 06:30:04 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 4b7a6bf402bd064605c287eecadc493ccf2d4897
      
https://github.com/qemu/qemu/commit/4b7a6bf402bd064605c287eecadc493ccf2d4897
  Author: Christoffer Dall <address@hidden>
  Date:   2015-07-21 (Tue, 21 Jul 2015)

  Changed paths:
    M target-arm/kvm-stub.c
    M target-arm/kvm.c
    M target-arm/kvm32.c
    M target-arm/kvm64.c
    M target-arm/kvm_arm.h
    M target-arm/machine.c

  Log Message:
  -----------
  target-arm: kvm: Differentiate registers based on write-back levels

Some registers like the CNTVCT register should only be written to the
kernel as part of machine initialization or on vmload operations, but
never during runtime, as this can potentially make time go backwards or
create inconsistent time observations between VCPUs.

Introduce a list of registers that should not be written back at runtime
and check this list on syncing the register state to the KVM state.

Signed-off-by: Christoffer Dall <address@hidden>
Message-id: address@hidden
[PMM: tweaked a few comments, added the new argument to the stub
 write_list_to_kvmstate() in target-arm/kvm-stub.c]
Reviewed-by: Peter Maydell <address@hidden>
Signed-off-by: Peter Maydell <address@hidden>


  Commit: 57b73090e041ece40cc619a3c43a6fafcb3dd647
      
https://github.com/qemu/qemu/commit/57b73090e041ece40cc619a3c43a6fafcb3dd647
  Author: Stefan Weil <address@hidden>
  Date:   2015-07-21 (Tue, 21 Jul 2015)

  Changed paths:
    M disas/arm-a64.cc

  Log Message:
  -----------
  disas/arm-a64: Add missing compiler attribute GCC_FMT_ATTR

Type fprintf_function which fits here was defined with this attribute.

Signed-off-by: Stefan Weil <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>


  Commit: 774ee4772b6838b78741ea52d4bf26b8922244c5
      
https://github.com/qemu/qemu/commit/774ee4772b6838b78741ea52d4bf26b8922244c5
  Author: Peter Maydell <address@hidden>
  Date:   2015-07-21 (Tue, 21 Jul 2015)

  Changed paths:
    M disas/arm-a64.cc
    M target-arm/kvm-stub.c
    M target-arm/kvm.c
    M target-arm/kvm32.c
    M target-arm/kvm64.c
    M target-arm/kvm_arm.h
    M target-arm/machine.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20150721' 
into staging

target-arm queue:
 * don't sync CNTVCT with kernel all the time (fixes VM time weirdnesses)
 * fix a warning compiling disas/arm-a64 with -Wextra

# gpg: Signature made Tue Jul 21 12:15:33 2015 BST using RSA key ID 14360CDE
# gpg: Good signature from "Peter Maydell <address@hidden>"

* remotes/pmaydell/tags/pull-target-arm-20150721:
  disas/arm-a64: Add missing compiler attribute GCC_FMT_ATTR
  target-arm: kvm: Differentiate registers based on write-back levels

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


Compare: https://github.com/qemu/qemu/compare/a1bc040dabc1...774ee4772b68

reply via email to

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