qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 6c3bff: exec: Save CPUState::exception_index


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 6c3bff: exec: Save CPUState::exception_index field
Date: Fri, 05 Sep 2014 09:30:04 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 6c3bff0ed8a40921464b9a07aa0fe079e860c978
      
https://github.com/qemu/qemu/commit/6c3bff0ed8a40921464b9a07aa0fe079e860c978
  Author: Pavel Dovgaluk <address@hidden>
  Date:   2014-09-05 (Fri, 05 Sep 2014)

  Changed paths:
    M exec.c

  Log Message:
  -----------
  exec: Save CPUState::exception_index field

This patch adds a subsection with exception_index field to the VMState for
correct saving the CPU state.
Without this patch, simulator could miss the pending exception in the saved
virtual machine state.

Signed-off-by: Pavel Dovgalyuk <address@hidden>
Cc: address@hidden
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 4d1b279b0675a8b483a5f101212d1dedfb1a3cec
      
https://github.com/qemu/qemu/commit/4d1b279b0675a8b483a5f101212d1dedfb1a3cec
  Author: Eduardo Habkost <address@hidden>
  Date:   2014-09-05 (Fri, 05 Sep 2014)

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

  Log Message:
  -----------
  target-i386: Support migratable=no properly

When the "migratable" property was implemented, the behavior was tested
by changing the default on the code, but actually using the option on
the command-line (e.g. "-cpu host,migratable=false") doesn't work as
expected. This is a regression for a common use case of "-cpu host",
which is to enable features that are supported by the host CPU + kernel
before feature-specific code is added to QEMU.

Fix this by initializing the feature words for "-cpu host" on
x86_cpu_parse_featurestr(), right after parsing the CPU options.

Signed-off-by: Eduardo Habkost <address@hidden>
Reviewed-by: Michael Roth <address@hidden>
Cc: address@hidden
Signed-off-by: Andreas Färber <address@hidden>


  Commit: c00c94abbdb82c39c22b6dd72875aa1ae0f4b2c0
      
https://github.com/qemu/qemu/commit/c00c94abbdb82c39c22b6dd72875aa1ae0f4b2c0
  Author: Eduardo Habkost <address@hidden>
  Date:   2014-09-05 (Fri, 05 Sep 2014)

  Changed paths:
    M target-i386/cpu.c

  Log Message:
  -----------
  target-i386: Reject invalid CPU feature names on the command-line

Instead of simply printing a warning, report an error when invalid CPU
options are provided on the CPU model string.

Signed-off-by: Eduardo Habkost <address@hidden>
Reviewed-by: Igor Mammedov <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: f102f224556f292f55b6e25147741bb8c48c9451
      
https://github.com/qemu/qemu/commit/f102f224556f292f55b6e25147741bb8c48c9451
  Author: Peter Maydell <address@hidden>
  Date:   2014-09-05 (Fri, 05 Sep 2014)

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

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/afaerber/tags/qom-cpu-for-peter' into 
staging

QOM CPUState and X86CPU

* Include exception state in CPU VMState
* Fix -cpu *,migratable=foo
* Error out on unknown -cpu *,+foo,-bar

# gpg: Signature made Fri 05 Sep 2014 15:38:14 BST using RSA key ID 3E7E013F
# gpg: Good signature from "Andreas Färber <address@hidden>"
# gpg:                 aka "Andreas Färber <address@hidden>"

* remotes/afaerber/tags/qom-cpu-for-peter:
  target-i386: Reject invalid CPU feature names on the command-line
  target-i386: Support migratable=no properly
  exec: Save CPUState::exception_index field

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


Compare: https://github.com/qemu/qemu/compare/20dbe6504936...f102f224556f

reply via email to

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