diff options
author | Jin Dongming <jin.dongming@np.css.fujitsu.com> | 2010-12-22 12:24:51 +0900 |
---|---|---|
committer | Marcelo Tosatti <mtosatti@redhat.com> | 2011-01-21 14:05:22 -0200 |
commit | 7cc2cc3e2608b182f1e0fc7ecae6e3b1fa4f46e0 (patch) | |
tree | bec1139304522da369685bc9a7a5e14d8a70a348 /dma-helpers.c | |
parent | e387c33892be35ca70255739a2fe118f76c95ac3 (diff) |
kvm: introduce kvm_inject_x86_mce_on
Pass a table instead of multiple args.
Note:
kvm_inject_x86_mce(env, bank, status, mcg_status, addr, misc,
abort_on_error);
is equal to:
struct kvm_x86_mce mce = {
.bank = bank,
.status = status,
.mcg_status = mcg_status,
.addr = addr,
.misc = misc,
};
kvm_inject_x86_mce_on(env, &mce, abort_on_error);
Signed-off-by: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Signed-off-by: Jin Dongming <jin.dongming@np.css.fujitsu.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'dma-helpers.c')
0 files changed, 0 insertions, 0 deletions