On 7 September 2017 at 15:27, Alexey Kardashevskiy <a...@ozlabs.ru> wrote: > On 07/09/17 19:30, Peter Maydell wrote: >> What happens if something in a device realize function tries >> to do a read from an AddressSpace? > > > address_space_memory is created before that loop but yes, address spaces > for devices are not rendered and QEMU crashes, needs fixing.
I'd be OK if we defined this to be not permitted, as long as we're reasonably happy that we don't currently do it anywhere and the error if it does happen is fairly clear about what's gone wrong. thanks -- PMM