[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [qemu-s390x] [PATCH v1 5/5] s390: do not call memory_region_allocate
From: |
Christian Borntraeger |
Subject: |
Re: [qemu-s390x] [PATCH v1 5/5] s390: do not call memory_region_allocate_system_memory() multiple times |
Date: |
Tue, 16 Apr 2019 13:02:42 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 |
On 16.04.19 13:01, Christian Borntraeger wrote:
> This crashes
>
> a simple -kernel -initrd example on s390x.
>
> #0 0x000003ff94e3e47c in __GI_raise (address@hidden) at
> ../sysdeps/unix/sysv/linux/raise.c:50
> #1 0x000003ff94e23d18 in __GI_abort () at abort.c:79
> #2 0x000003ff94e365e6 in __assert_fail_base
> (fmt=0x3ff94f60ca6 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n",
> address@hidden "new_block", address@hidden
> "/home/cborntra/REPOS/qemu/exec.c", address@hidden, address@hidden
> <__PRETTY_FUNCTION__.34656> "qemu_ram_set_idstr") at assert.c:92
> #3 0x000003ff94e36664 in __GI___assert_fail
> (address@hidden "new_block", address@hidden
> "/home/cborntra/REPOS/qemu/exec.c", address@hidden, address@hidden
> <__PRETTY_FUNCTION__.34656> "qemu_ram_set_idstr") at assert.c:101
> #4 0x000000000102e062 in qemu_ram_set_idstr (address@hidden, name=<optimized
> out>, address@hidden) at /home/cborntra/REPOS/qemu/exec.c:2041
> #5 0x00000000011f5b0a in vmstate_register_ram (mr=0x2cd2dd0,
> address@hidden<error reading variable: value has been optimized out>,
> address@hidden) at /home/cborntra/REPOS/qemu/migration/savevm.c:2828
> #6 0x00000000011f5b5a in vmstate_register_ram_global (mr=<error reading
> variable: value has been optimized out>) at
> /home/cborntra/REPOS/qemu/migration/savevm.c:2841
> #7 0x000000000110d2ce in s390_memory_init (mem_size=<optimized out>) at
> /home/cborntra/REPOS/qemu/hw/s390x/s390-virtio-ccw.c:186
> #8 0x000000000110d2ce in ccw_init (machine=0x2a96770) at
> /home/cborntra/REPOS/qemu/hw/s390x/s390-virtio-ccw.c:266
> #9 0x00000000011b342c in machine_run_board_init (machine=0x2a96770) at
> /home/cborntra/REPOS/qemu/hw/core/machine.c:1030
> #10 0x0000000001026fee in main (argc=<optimized out>, argv=<optimized out>,
> envp=<optimized out>) at /home/cborntra/REPOS/qemu/vl.c:4479
Sorry, I forgot to also add Patch4. With that the crash is gone. I will have a
look at the patch.
- [qemu-s390x] [PATCH v1 0/5] Fix misuses of memory_region_allocate_system_memory(), Igor Mammedov, 2019/04/15
- [qemu-s390x] [PATCH v1 1/5] sparc64: use memory_region_allocate_system_memory() only for '-m' specified RAM, Igor Mammedov, 2019/04/15
- [qemu-s390x] [PATCH v1 2/5] ppc: rs6000_mc: drop usage of memory_region_allocate_system_memory(), Igor Mammedov, 2019/04/15
- [qemu-s390x] [PATCH v1 3/5] hppa: drop usage of memory_region_allocate_system_memory() for ROM, Igor Mammedov, 2019/04/15
- [qemu-s390x] [PATCH v1 4/5] memory: make MemoryRegion alias migratable, Igor Mammedov, 2019/04/15
- [qemu-s390x] [PATCH v1 5/5] s390: do not call memory_region_allocate_system_memory() multiple times, Igor Mammedov, 2019/04/15
- Re: [qemu-s390x] [PATCH v1 5/5] s390: do not call memory_region_allocate_system_memory() multiple times, Christian Borntraeger, 2019/04/16
- Re: [qemu-s390x] [PATCH v1 5/5] s390: do not call memory_region_allocate_system_memory() multiple times,
Christian Borntraeger <=
- Re: [qemu-s390x] [PATCH v1 5/5] s390: do not call memory_region_allocate_system_memory() multiple times, Christian Borntraeger, 2019/04/16
- Re: [qemu-s390x] [Qemu-devel] [PATCH v1 5/5] s390: do not call memory_region_allocate_system_memory() multiple times, Igor Mammedov, 2019/04/17
- Re: [qemu-s390x] [Qemu-devel] [PATCH v1 5/5] s390: do not call memory_region_allocate_system_memory() multiple times, Igor Mammedov, 2019/04/18
- Re: [qemu-s390x] [Qemu-devel] [PATCH v1 5/5] s390: do not call memory_region_allocate_system_memory() multiple times, David Hildenbrand, 2019/04/18
- Re: [qemu-s390x] [Qemu-devel] [PATCH v1 5/5] s390: do not call memory_region_allocate_system_memory() multiple times, Igor Mammedov, 2019/04/18
- Re: [qemu-s390x] [Qemu-devel] [PATCH v1 5/5] s390: do not call memory_region_allocate_system_memory() multiple times, David Hildenbrand, 2019/04/18
- Re: [qemu-s390x] [Qemu-devel] [PATCH v1 5/5] s390: do not call memory_region_allocate_system_memory() multiple times, Igor Mammedov, 2019/04/18
- Re: [qemu-s390x] [Qemu-devel] [PATCH v1 5/5] s390: do not call memory_region_allocate_system_memory() multiple times, David Hildenbrand, 2019/04/18