*/
#include "qemu/osdep.h"
-#include "block/block_int-common.h"
#include "qemu/units.h"
#include "cpu.h"
#include "hw/boards.h"
memory_region_add_subregion(get_system_memory(),
NIAGARA_VDISK_BASE, &s->vdisk_ram);
dinfo->is_default = 1;
- rom_add_file_fixed(blk_bs(blk)->filename, NIAGARA_VDISK_BASE, -1);
+ rom_add_file_fixed(blk_name(blk), NIAGARA_VDISK_BASE, -1);
} else {
- error_report("could not load ram disk '%s'",
- blk_bs(blk)->filename);
+ error_report("could not load ram disk '%s'", blk_name(blk));
exit(1);
}
}