X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?p=palacios.git;a=blobdiff_plain;f=palacios%2Fsrc%2Fpalacios%2Fvmm_msr.c;h=4163145c795ab34de7b1970dd3fa9c2ddfdf25ea;hp=bb1b06234de231caa1e766a71ea42da4a5231b50;hb=639f3d3bd42dd2218bcd994e423f3a5569ed7051;hpb=e43bd94d31ec809a8a4e80561bdb41d684f86288 diff --git a/palacios/src/palacios/vmm_msr.c b/palacios/src/palacios/vmm_msr.c index bb1b062..4163145 100644 --- a/palacios/src/palacios/vmm_msr.c +++ b/palacios/src/palacios/vmm_msr.c @@ -104,12 +104,15 @@ int v3_handle_msr_read(struct guest_info * info) { int v3_msr_unhandled_read(struct guest_info * core, uint32_t msr, struct v3_msr * dst, void * priv_data) { - V3_Print("Palacios: Unhandled MSR Read (MSR=0x%x)\n", msr); + V3_Print("Palacios: Unhandled MSR Read (MSR=0x%x) - returning zero\n", msr); + dst->lo=dst->hi=0; + // should produce GPF for unsupported msr return 0; } int v3_msr_unhandled_write(struct guest_info * core, uint32_t msr, struct v3_msr src, void * priv_data) { - V3_Print("Palacios: Unhandled MSR Write (MSR=0x%x)\n", msr); + V3_Print("Palacios: Unhandled MSR Write (MSR=0x%x) - ignored\n", msr); + // should produce GPF for unsupported msr return 0; }