* oops at boot - FIXED
@ 2007-07-25 11:08 Fix
[not found] ` <200707251908.44276.pr0gress0r-ZoOhUfop2Wg@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Fix @ 2007-07-25 11:08 UTC (permalink / raw)
To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
The following patch totally eliminate hang-ups for me.
Bye.
--- ./kernel/x86_emulate.c 2007-07-24 00:15:15.000000000 +0800
+++ ./kernel/x86_emulate.c 2007-07-12 18:25:33.000000000 +0800
@@ -1350,29 +1344,6 @@
goto cannot_emulate;
realmode_set_cr(ctxt->vcpu, modrm_reg, modrm_val, &_eflags);
break;
- case 0x30:
- /* wrmsr */
- msr_data = (u32)_regs[VCPU_REGS_RAX]
- | ((u64)_regs[VCPU_REGS_RDX] << 32);
- rc = kvm_set_msr(ctxt->vcpu, _regs[VCPU_REGS_RCX], msr_data);
- if (rc) {
- kvm_arch_ops->inject_gp(ctxt->vcpu, 0);
- _eip = ctxt->vcpu->rip;
- }
- rc = X86EMUL_CONTINUE;
- break;
- case 0x32:
- /* rdmsr */
- rc = kvm_get_msr(ctxt->vcpu, _regs[VCPU_REGS_RCX], &msr_data);
- if (rc) {
- kvm_arch_ops->inject_gp(ctxt->vcpu, 0);
- _eip = ctxt->vcpu->rip;
- } else {
- _regs[VCPU_REGS_RAX] = (u32)msr_data;
- _regs[VCPU_REGS_RDX] = msr_data >> 32;
- }
- rc = X86EMUL_CONTINUE;
- break;
case 0xc7: /* Grp9 (cmpxchg8b) */
{
u64 old, new;
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: oops at boot - FIXED
[not found] ` <200707251908.44276.pr0gress0r-ZoOhUfop2Wg@public.gmane.org>
@ 2007-07-25 11:25 ` Avi Kivity
0 siblings, 0 replies; 2+ messages in thread
From: Avi Kivity @ 2007-07-25 11:25 UTC (permalink / raw)
To: Fix; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
Fix wrote:
> The following patch totally eliminate hang-ups for me.
>
It will also eliminate smp on Windows. We need to find what's wrong there.
--
Do not meddle in the internals of kernels, for they are subtle and quick to panic.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-07-25 11:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-25 11:08 oops at boot - FIXED Fix
[not found] ` <200707251908.44276.pr0gress0r-ZoOhUfop2Wg@public.gmane.org>
2007-07-25 11:25 ` Avi Kivity
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox