Skip to content

KVM Virtual Machine Introspection Library

License

Notifications You must be signed in to change notification settings

thomasdangl/libkvmi

 
 

Repository files navigation

Libkvmi

Build

(c) 2017-2023 Bitdefender SRL

Usage

To test the library, issue:

$ ./bootstrap
$ ./configure
$ make

This will build the library and the test under examples/.

To see the test in action, ensure you have a Linux kernel built with CONFIG_KVM_INTROSPECTION and already installed (kvmi-v7 branch).

Virtualization
	Kernel-based Virtual Machine (KVM) support
	KVM Introspection

You also need QEMU built with VM introspection support (kvmi-v7 branch).

In the examples/ subdirectory run:

# ./hookguest-libkvmi /tmp/introspector

then simply start a KVM domain up with:

	qemu-system-x86_64 ... \
		-enable-kvm \
		-chardev socket,path=/tmp/introspector,id=chardev0,reconnect=10 \
		-object introspection,id=kvmi,chardev=chardev0

The application can be shut down at any time via ^C.

About

KVM Virtual Machine Introspection Library

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 98.4%
  • Other 1.6%