2
* libkvm-ia64.c :Kernel-based Virtual Machine control library for ia64.
4
* This library provides an API to control the kvm hardware virtualization
7
* Copyright (C) 2006 Qumranet
11
* Avi Kivity <avi@qumranet.com>
12
* Yaniv Kamay <yaniv@qumranet.com>
14
* Copyright (C) 2007 Intel
15
* Added by : Zhang Xiantao <xiantao.zhang@intel.com>
17
* This work is licensed under the GNU LGPL license, version 2.
21
#include "libkvm-all.h"
24
#include <sys/ioctl.h>
31
#include <sys/types.h>
36
int kvm_arch_create(kvm_context_t kvm, unsigned long phys_mem_bytes,
41
r = kvm_init_coalesced_mmio(kvm);
48
int kvm_arch_run(kvm_vcpu_context_t vcpu)
52
switch (vcpu->run->exit_reason) {
61
void kvm_show_code(kvm_vcpu_context_t vcpu)
63
fprintf(stderr, "kvm_show_code not supported yet!\n");
66
void kvm_show_regs(kvm_vcpu_context_t vcpu)
68
fprintf(stderr,"kvm_show_regs not supportted today!\n");
71
int kvm_create_memory_alias(kvm_context_t kvm,
79
int kvm_destroy_memory_alias(kvm_context_t kvm, uint64_t phys_start)