Hello Peter Maydell,
Thank you for the confirmation.
But with more thoughts, in our case, the accelerator (which is risc-v based and
has special hardware for acceleration) connected to qemu virtual machine should
access memory many times like a processor with many cores does. And the
I got the network to partially work. (DNS resolves and I can get to the host,
which is all I wanted anyway.) The problem was that I needed to be able to run
as a normal user. Which was a matter of uncommenting this line in file
/etc/libvirt/libvirt.conf:
uri_default = "qemu:///system"
On Wed, 14 Jul 2021 at 13:12, wrote:
>
> On second thought, I guess the application should convert the virtual address
> to physical address (by reading the page table) and write the value to the
> register.
Yes. Generally models that emulate real devices will always operate
on physical
Most probably somewhere at https://wiki.autosar.org/
2021-07-14 15:26, Evan Meyer via rašė:
Attached are the lines of code that could be of use before running the code,
I then would run
runqemu qemux86 core-image-apd-devel nographic
qemuparams="-net socket,mcast=MailScanner warning: numerical
On second thought, I guess the application should convert the virtual
address to physical address (by reading the page table) and write the value
to the register.
Chan Kim
From: c...@etri.re.kr
Sent: Wednesday, July 14, 2021 7:01 PM
To: 'qemu-discuss'
Subject: Is there a good method to
Hello,
I want to switch the memory read-only mode with
memory_region_set_readonly() function for writing a value to memory under a
specific condition. I checked that I could switch the mode using
memory_region_set_readonly(), but I couldn't write a value to the memory
region when the mode was
Thank you!
I understand what you said and I could realize what I want to make.
Best regards,
Hiroko
2021年7月11日(日) 18:13 Peter Maydell :
> On Sun, 11 Jul 2021 at 09:12, Hiroko Shimizu
> wrote:
> >
> > >If you mean the MemoryRegionOps read and write functions,
> > Yes, I mean that. I understand
Hello experts,
I can convert guest physical address to host virtual address using something
like this.
vms->ram_ptr = memory_region_get_ram_ptr(machine->ram);
*host_virt_offset_p = (uint64_t)vms->ram_ptr - vms->memmap[AB21Q_MEM].base;
By adding *host_virt_offset_p to the guest physical