Revision 5a4348d1 hw/ppc/virtex_ml507.c

b/hw/ppc/virtex_ml507.c
166 166
    if (!fdt) {
167 167
        return 0;
168 168
    }
169
    r = qemu_devtree_setprop_string(fdt, "/chosen", "bootargs", kernel_cmdline);
169
    r = qemu_fdt_setprop_string(fdt, "/chosen", "bootargs", kernel_cmdline);
170 170
    if (r < 0)
171 171
        fprintf(stderr, "couldn't set /chosen/bootargs\n");
172 172
    cpu_physical_memory_write(addr, fdt, fdt_size);

Also available in: Unified diff