mirror of
https://github.com/clearlinux/kvmtool.git
synced 2026-09-06 13:41:44 +00:00
kvm: Improve kvm__init() error message
Signed-off-by: Pekka Enberg <penberg@kernel.org>
This commit is contained in:
committed by
Will Deacon
parent
1f84889767
commit
e907b83f28
@@ -173,7 +173,7 @@ struct kvm *kvm__init(const char *kvm_dev, unsigned long ram_size)
|
||||
self->sys_fd = open(kvm_dev, O_RDWR);
|
||||
if (self->sys_fd < 0) {
|
||||
if (errno == ENOENT)
|
||||
die("'%s' not found. Please make sure you have CONFIG_KVM enabled.", kvm_dev);
|
||||
die("'%s' not found. Please make sure your kernel has CONFIG_KVM enabled and that the KVM modules are loaded.", kvm_dev);
|
||||
|
||||
die_perror("open");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user