Konrad Rzeszutek Wilk 5842f57685 xen/hvc: Check HVM_PARAM_CONSOLE_[EVTCHN|PFN] for correctness.
We need to make sure that those parameters are setup to be correct.
As such the value of 0 is deemed invalid and we find that we
bail out. The hypervisor sets by default all of them to be zero
and when the hypercall is done does a simple:

 a.value = d->arch.hvm_domain.params[a.index];

Which means that if the Xen toolstack forgot to setup the proper
HVM_PARAM_CONSOLE_EVTCHN (or the PFN one), we would get the
default value of 0 and use that.

CC: stable@kernel.org
Fixes-Oracle-Bug: 14091238
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
2012-05-24 14:23:01 -04:00
..
2012-01-26 17:14:50 -08:00
2011-09-22 16:08:57 -07:00
2011-03-31 11:26:23 -03:00
2011-11-06 22:21:18 -08:00
2012-01-26 17:14:50 -08:00
2012-03-08 11:42:21 -08:00
2012-03-22 20:16:14 -07:00
2012-03-09 10:35:17 +11:00