target-i386: cpu_x86_register(): report error from property setter
Signed-off-by: Igor Mammedov <imammedo@redhat.com>Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>Signed-off-by: Andreas Färber <afaerber@suse.de>
target-i386: If x86_cpu_realize() failed, report error and do cleanup
Signed-off-by: Igor Mammedov <imammedo@redhat.com>Signed-off-by: Andreas Färber <afaerber@suse.de>
target-i386: Initialize APIC at CPU level
(L)APIC is a part of cpu [1] so move APIC initialization inside ofx86_cpu object. Since cpu_model and override flags currently specifywhether APIC should be created or not, APIC creation&initialization ismoved into x86_cpu_apic_init() which is called from x86_cpu_realize()....
target-i386: Inline APIC cpu_env property setting
This prepares for changing the variable type from void*.
Signed-off-by: Andreas Färber <afaerber@suse.de>Reviewed-by: Igor Mammedov <imammedo@redhat.com>
apic: Store X86CPU in APICCommonState
Prepares for using a link<> property to connect APIC with CPU and forchanging the CPU APIs to CPUState.
Resolve Coding Style warnings by moving the closing parenthesis offoreach_apic() macro to next line.
Signed-off-by: Andreas Färber <afaerber@suse.de>...
target-i386: Pass X86CPU to cpu_x86_load_seg_cache_sipi()
Simplifies the call in apic_sipi() again and needed for moving haltedfield to CPUState.
tap-win32: stubs to fix win32 build
Add missing stubs to win32 to fix link failure.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>Reported-by: Paolo Bonzini <pbonzini@redhat.com>Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
tests/tcg: fix unused result warnings
With i386-linux-user target on x86_64 host, this does not introduce any new testfailures.
Signed-off-by: Catalin Patulea <catalinp@google.com>Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
configure: use -Wwombat to test whether gcc recognizes -Wno-wombat
gcc will silently accept unrecognized -Wno-wombat warning suppressionoptions (it only mentions them if it has to print a compiler warningfor some other reason). Since we already run a check for whether gcc...
target-sparc: Revert setting cpu_dst to gen_dest_gpr
There is some read-after-write error within the OP=2 insns whichprevents setting cpu_dst to the real output register. Until thisis found and fixed, always write to a temporary first.
Cc: Blue Swirl <blauwirbel@gmail.com>...
View all revisions | View revisions
Also available in: Atom