A build breakage is discovered by a non-debug build. Debug build
worked because the ASSERT made the compiler eliminate the rest of the
functions.
Currently they are PV only. There are comments alluding to possible
future HVM support but we can cross the bridge when we get there.
Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
return X86EMUL_OKAY;
}
+#ifdef CONFIG_PV
/* Called with NULL ctxt in hypercall context. */
int x86emul_read_dr(unsigned int reg, unsigned long *val,
struct x86_emulate_ctxt *ctxt)
return X86EMUL_EXCEPTION;
}
}
+#endif /* CONFIG_PV */
/*
* Local variables: