#include "kvm/ioeventfd.h"
#include "kvm/irq.h"
#include "kvm/virtio-9p.h"
+#include "kvm/guest_compat.h"
#include <stdio.h>
#include <stdlib.h>
struct p9_dev_job *job;
struct virt_queue *queue;
+ compat__remove_message(p9dev->compat_id);
+
job = &p9dev->jobs[p9dev->queue_selector];
queue = &p9dev->vqs[p9dev->queue_selector];
queue->pfn = ioport__read32(data);
};
pci__register(&p9dev->pci_hdr, dev);
+ p9dev->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.");
+
return err;
free_p9dev_config: