search for: kvm_debug

Displaying 6 results from an estimated 6 matches for "kvm_debug".

2008 Jan 08
1
[PATCH] QEMU KVM balloon support
...page(gfn, !is_inflate); + if (r) { + printf("do_balloon_on_page EH FAILED, gfn=0x%x, is_inflate=%d\n", + gfn, !is_inflate); + return r; + } + } + return saved_r; +} + static struct kvm_callbacks qemu_kvm_ops = { .debug = kvm_debug, .inb = kvm_inb, @@ -546,6 +614,31 @@ int kvm_qemu_init() return 0; } +void do_setmemory(const char *value) +{ + int target_ramsize; + char *ptr; + + target_ramsize = strtol(value, &ptr, 10); + switch (*ptr) { + case 'G': case 'g': + target_ramsize *= 1024; + cas...
2008 Jan 08
1
[PATCH] QEMU KVM balloon support
...page(gfn, !is_inflate); + if (r) { + printf("do_balloon_on_page EH FAILED, gfn=0x%x, is_inflate=%d\n", + gfn, !is_inflate); + return r; + } + } + return saved_r; +} + static struct kvm_callbacks qemu_kvm_ops = { .debug = kvm_debug, .inb = kvm_inb, @@ -546,6 +614,31 @@ int kvm_qemu_init() return 0; } +void do_setmemory(const char *value) +{ + int target_ramsize; + char *ptr; + + target_ramsize = strtol(value, &ptr, 10); + switch (*ptr) { + case 'G': case 'g': + target_ramsize *= 1024; + cas...
2019 Aug 09
0
[RFC PATCH v6 27/92] kvm: introspection: use page track
.../virt/kvm/kvmi_int.h b/virt/kvm/kvmi_int.h index 7cff91bc1acc..d798908d0f70 100644 --- a/virt/kvm/kvmi_int.h +++ b/virt/kvm/kvmi_int.h @@ -6,6 +6,7 @@ #include <linux/kvm_host.h> #include <uapi/linux/kvmi.h> +#include <asm/kvmi_host.h> #define kvmi_debug(ikvm, fmt, ...) \ kvm_debug("%pU " fmt, &ikvm->uuid, ## __VA_ARGS__) @@ -104,6 +105,10 @@ struct kvmi_vcpu { struct kvmi { struct kvm *kvm; + struct kvm_page_track_notifier_node kptn_node; + + struct radix_tree_root access_tree; + rwlock_t access_tree_lock; struct socket *sock; struct task_struct *...
2019 Aug 09
0
[RFC PATCH v6 02/92] kvm: introspection: add basic ioctls (hook/unhook)
...c23ad6fc4df..9bc5205c8714 100644 --- a/virt/kvm/kvmi_int.h +++ b/virt/kvm/kvmi_int.h @@ -2,11 +2,42 @@ #ifndef __KVMI_INT_H__ #define __KVMI_INT_H__ +#include <linux/types.h> #include <linux/kvm_host.h> +#include <uapi/linux/kvmi.h> + +#define kvmi_debug(ikvm, fmt, ...) \ + kvm_debug("%pU " fmt, &ikvm->uuid, ## __VA_ARGS__) +#define kvmi_info(ikvm, fmt, ...) \ + kvm_info("%pU " fmt, &ikvm->uuid, ## __VA_ARGS__) +#define kvmi_warn(ikvm, fmt, ...) \ + kvm_info("%pU WARNING: " fmt, &ikvm->uuid, ## __VA_ARGS__) +#define kvmi_warn_o...
2019 Aug 09
117
[RFC PATCH v6 00/92] VM introspection
The KVM introspection subsystem provides a facility for applications running on the host or in a separate VM, to control the execution of other VM-s (pause, resume, shutdown), query the state of the vCPUs (GPRs, MSRs etc.), alter the page access bits in the shadow page tables (only for the hardware backed ones, eg. Intel's EPT) and receive notifications when events of interest have taken place
2019 Aug 09
117
[RFC PATCH v6 00/92] VM introspection
The KVM introspection subsystem provides a facility for applications running on the host or in a separate VM, to control the execution of other VM-s (pause, resume, shutdown), query the state of the vCPUs (GPRs, MSRs etc.), alter the page access bits in the shadow page tables (only for the hardware backed ones, eg. Intel's EPT) and receive notifications when events of interest have taken place