|
@@ -161,7 +161,6 @@ static void virtio_ccw_register_hcalls(void)
|
|
static void s390_memory_init(MemoryRegion *ram)
|
|
static void s390_memory_init(MemoryRegion *ram)
|
|
{
|
|
{
|
|
MemoryRegion *sysmem = get_system_memory();
|
|
MemoryRegion *sysmem = get_system_memory();
|
|
- Error *local_err = NULL;
|
|
|
|
|
|
|
|
/* allocate RAM for core */
|
|
/* allocate RAM for core */
|
|
memory_region_add_subregion(sysmem, 0, ram);
|
|
memory_region_add_subregion(sysmem, 0, ram);
|
|
@@ -170,11 +169,7 @@ static void s390_memory_init(MemoryRegion *ram)
|
|
* Configure the maximum page size. As no memory devices were created
|
|
* Configure the maximum page size. As no memory devices were created
|
|
* yet, this is the page size of initial memory only.
|
|
* yet, this is the page size of initial memory only.
|
|
*/
|
|
*/
|
|
- s390_set_max_pagesize(qemu_maxrampagesize(), &local_err);
|
|
|
|
- if (local_err) {
|
|
|
|
- error_report_err(local_err);
|
|
|
|
- exit(EXIT_FAILURE);
|
|
|
|
- }
|
|
|
|
|
|
+ s390_set_max_pagesize(qemu_maxrampagesize(), &error_fatal);
|
|
/* Initialize storage key device */
|
|
/* Initialize storage key device */
|
|
s390_skeys_init();
|
|
s390_skeys_init();
|
|
/* Initialize storage attributes device */
|
|
/* Initialize storage attributes device */
|