File tree 1 file changed +7
-0
lines changed
1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -1056,6 +1056,12 @@ static void lguest_load_sp0(struct tss_struct *tss,
1056
1056
}
1057
1057
1058
1058
/* Let's just say, I wouldn't do debugging under a Guest. */
1059
+ static unsigned long lguest_get_debugreg (int regno )
1060
+ {
1061
+ /* FIXME: Implement */
1062
+ return 0 ;
1063
+ }
1064
+
1059
1065
static void lguest_set_debugreg (int regno , unsigned long value )
1060
1066
{
1061
1067
/* FIXME: Implement */
@@ -1303,6 +1309,7 @@ __init void lguest_init(void)
1303
1309
pv_cpu_ops .load_tr_desc = lguest_load_tr_desc ;
1304
1310
pv_cpu_ops .set_ldt = lguest_set_ldt ;
1305
1311
pv_cpu_ops .load_tls = lguest_load_tls ;
1312
+ pv_cpu_ops .get_debugreg = lguest_get_debugreg ;
1306
1313
pv_cpu_ops .set_debugreg = lguest_set_debugreg ;
1307
1314
pv_cpu_ops .clts = lguest_clts ;
1308
1315
pv_cpu_ops .read_cr0 = lguest_read_cr0 ;
You can’t perform that action at this time.
0 commit comments