]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
kvm tools: Improve compat message
authorSasha Levin <levinsasha928@gmail.com>
Thu, 13 Oct 2011 09:32:42 +0000 (11:32 +0200)
committerPekka Enberg <penberg@kernel.org>
Thu, 13 Oct 2011 16:38:59 +0000 (19:38 +0300)
Suggested-by: Ingo Molnar <mingo@elte.hu>
Acked-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Sasha Levin <levinsasha928@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
tools/kvm/virtio/9p.c
tools/kvm/virtio/balloon.c
tools/kvm/virtio/blk.c
tools/kvm/virtio/console.c
tools/kvm/virtio/net.c
tools/kvm/virtio/rng.c

index b9b92b859e74bd1478b67417c407c0aabddcd4eb..8dbd016c9d524c4ec1988b77fb4ffcb6e8766c20 100644 (file)
@@ -1251,9 +1251,10 @@ int virtio_9p__register(struct kvm *kvm, const char *root, const char *tag_name)
        if (compat_id != -1)
                compat_id = compat__add_message("virtio-9p device was not detected",
                                                "While you have requested a virtio-9p device, "
-                                               "the guest kernel didn't seem to detect it.\n"
-                                               "Please make sure that the kernel was compiled "
-                                               "with CONFIG_NET_9P_VIRTIO.");
+                                               "the guest kernel did not initialize it.\n"
+                                               "Please make sure that the guest kernel was "
+                                               "compiled with CONFIG_NET_9P_VIRTIO=y enabled "
+                                               "in its .config");
 
        return err;
 
index 643392bbd7a628501d8da3dc92556de6fd2a1d51..1691b79fa07587fdcc7d56422ff47d2e2e055394 100644 (file)
@@ -283,7 +283,8 @@ void virtio_bln__init(struct kvm *kvm)
        if (compat_id != -1)
                compat_id = compat__add_message("virtio-balloon device was not detected",
                                                "While you have requested a virtio-balloon device, "
-                                               "the guest kernel didn't seem to detect it.\n"
-                                               "Please make sure that the kernel was compiled "
-                                               "with CONFIG_VIRTIO_BALLOON.");
+                                               "the guest kernel did not initialize it.\n"
+                                               "Please make sure that the guest kernel was "
+                                               "compiled with CONFIG_VIRTIO_BALLOON=y enabled "
+                                               "in its .config");
 }
index 272613b445e71d3b479e8785bbf760e8d299d516..86059510c5941020ceea6c270161cb8b2d466821 100644 (file)
@@ -223,9 +223,10 @@ void virtio_blk__init(struct kvm *kvm, struct disk_image *disk)
        if (compat_id != -1)
                compat_id = compat__add_message("virtio-blk device was not detected",
                                                "While you have requested a virtio-blk device, "
-                                               "the guest kernel didn't seem to detect it.\n"
-                                               "Please make sure that the kernel was compiled "
-                                               "with CONFIG_VIRTIO_BLK.");
+                                               "the guest kernel did not initialize it.\n"
+                                               "Please make sure that the guest kernel was "
+                                               "compiled with CONFIG_VIRTIO_BLK=y enabled "
+                                               "in its .config");
 }
 
 void virtio_blk__init_all(struct kvm *kvm)
index ef1ef0d96f0913383dcd10377da305bb3f2ba283..36997bd70b1a504910f372d785d3d2c05aae4db7 100644 (file)
@@ -192,7 +192,8 @@ void virtio_console__init(struct kvm *kvm)
        if (compat_id != -1)
                compat_id = compat__add_message("virtio-console device was not detected",
                                                "While you have requested a virtio-console device, "
-                                               "the guest kernel didn't seem to detect it.\n"
-                                               "Please make sure that the kernel was compiled "
-                                               "with CONFIG_VIRTIO_CONSOLE.");
+                                               "the guest kernel did not initialize it.\n"
+                                               "Please make sure that the guest kernel was "
+                                               "compiled with CONFIG_VIRTIO_CONSOLE=y enabled "
+                                               "in its .config");
 }
index 9c39a8784ec29aa1ed205f5036f4a58d4c56f69a..bfa2c7b4a0f50a5d1ad88f9b5a845713152f249d 100644 (file)
@@ -416,7 +416,8 @@ void virtio_net__init(const struct virtio_net_params *params)
        if (compat_id != -1)
                compat_id = compat__add_message("virtio-net device was not detected",
                                                "While you have requested a virtio-net device, "
-                                               "the guest kernel didn't seem to detect it.\n"
-                                               "Please make sure that the kernel was compiled "
-                                               "with CONFIG_VIRTIO_NET.");
+                                               "the guest kernel did not initialize it.\n"
+                                               "Please make sure that the guest kernel was "
+                                               "compiled with CONFIG_VIRTIO_NET=y enabled "
+                                               "in its .config");
 }
index 17cd49292a41b8c42064736342386ac411bb3f66..c7e7f2d296b3f916b4cdc3a16d606e93087ef729 100644 (file)
@@ -167,9 +167,10 @@ void virtio_rng__init(struct kvm *kvm)
        if (compat_id != -1)
                compat_id = compat__add_message("virtio-rng device was not detected",
                                                "While you have requested a virtio-rng device, "
-                                               "the guest kernel didn't seem to detect it.\n"
-                                               "Please make sure that the kernel was compiled "
-                                               "with CONFIG_HW_RANDOM_VIRTIO.");
+                                               "the guest kernel did not initialize it.\n"
+                                               "Please make sure that the guest kernel was "
+                                               "compiled with CONFIG_HW_RANDOM_VIRTIO=y enabled "
+                                               "in its .config");
 }
 
 void virtio_rng__delete_all(struct kvm *kvm)