mirror of
https://github.com/clearlinux/kvmtool.git
synced 2026-08-21 12:57:49 +00:00
a3fa3f86b8
Make the init/exit of virtio-console self-contained, so the global init code won't need to check if it was selected or not. Signed-off-by: Sasha Levin <levinsasha928@gmail.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
11 lines
252 B
C
11 lines
252 B
C
#ifndef KVM__CONSOLE_VIRTIO_H
|
|
#define KVM__CONSOLE_VIRTIO_H
|
|
|
|
struct kvm;
|
|
|
|
int virtio_console__init(struct kvm *kvm);
|
|
void virtio_console__inject_interrupt(struct kvm *kvm);
|
|
int virtio_console__exit(struct kvm *kvm);
|
|
|
|
#endif /* KVM__CONSOLE_VIRTIO_H */
|