]> Git Repo - qemu.git/blobdiff - hw/ide/via.c
qdev: Replace no_user by cannot_instantiate_with_device_add_yet
[qemu.git] / hw / ide / via.c
index 99468c773e4fb555935ba2904795197c8d82ff65..b556c14ac704d0be0b00dd71bb309c9f1c49e7bd 100644 (file)
@@ -225,7 +225,7 @@ static void via_ide_class_init(ObjectClass *klass, void *data)
     k->revision = 0x06;
     k->class_id = PCI_CLASS_STORAGE_IDE;
     set_bit(DEVICE_CATEGORY_STORAGE, dc->categories);
     k->revision = 0x06;
     k->class_id = PCI_CLASS_STORAGE_IDE;
     set_bit(DEVICE_CATEGORY_STORAGE, dc->categories);
-    dc->no_user = 1;
+    dc->cannot_instantiate_with_device_add_yet = true; /* FIXME explain why */
 }
 
 static const TypeInfo via_ide_info = {
 }
 
 static const TypeInfo via_ide_info = {
This page took 0.023034 seconds and 4 git commands to generate.