]> git.proxmox.com Git - qemu.git/blobdiff - backends/rng.c
qdev-properties-system.c: Allow vlan or netdev for -device, not both
[qemu.git] / backends / rng.c
index 06f261180c84f40f311e8806bb8c95fed2c1cf26..85cb83f5e1ea9025b23b1596a5c05d4451e89218 100644 (file)
@@ -10,8 +10,8 @@
  * See the COPYING file in the top-level directory.
  */
 
-#include "qemu/rng.h"
-#include "qerror.h"
+#include "sysemu/rng.h"
+#include "qapi/qmp/qerror.h"
 
 void rng_backend_request_entropy(RngBackend *s, size_t size,
                                  EntropyReceiveFunc *receive_entropy,
@@ -76,7 +76,7 @@ static void rng_backend_init(Object *obj)
                              NULL);
 }
 
-static TypeInfo rng_backend_info = {
+static const TypeInfo rng_backend_info = {
     .name = TYPE_RNG_BACKEND,
     .parent = TYPE_OBJECT,
     .instance_size = sizeof(RngBackend),