Re: Questions about virtio DMA operations

2021-08-31 Thread Arnabjyoti Kalita
Thank you Peter. This makes it very clear. Best Regards, Arnabjyoti Kalita On Tue, Aug 31, 2021 at 3:32 PM Peter Maydell wrote: > > On Tue, 31 Aug 2021 at 05:48, Arnabjyoti Kalita > wrote: > > > > Dear Peter, > > > > I had a few additional questions with regards to dma_memory_map(). So, > > let

About multiple ivhsmem instances

2021-08-31 Thread Musa Ünal
Hi, I'm trying to connect multiple ivhsmem server to vm, is it possible to read both of them from same PCI device. Thanks. Qemu configuration: sudo qemu-system-x86_64 -hda vm1.vdi \ -enable-kvm \ -m 2G,slots=2,maxmem=4G \ -machine pc,accel=kvm,nvdimm=on \ -device ivshmem-plain,memd

Re: What is device_memory in arm64 virt machine?

2021-08-31 Thread Peter Maydell
On Tue, 31 Aug 2021 at 13:37, wrote: > The peripheral model just passes the ioctl requests from the driver to the > simulator shared library. This application runs ok in baremetal case, but > when running as a ubuntu application, the output has many errors.(15%~30%, > error occurs in 8 word bur

RE: What is device_memory in arm64 virt machine?

2021-08-31 Thread ckim
Hello, I forgot to mention that the peripheral register is located at 0x0910 ~ 0918, but the functions(in shared library) the peripheral calls accesses the memory in 0x5000~ 0x6000. Thanks. Chan Kim From: c...@etri.re.kr Sent: Tuesday, August 31, 2021 9:18 PM To: 'qemu-dis

What is device_memory in arm64 virt machine?

2021-08-31 Thread ckim
Hello all, I'm running an linux application and driver on an arm64 machine which is almost the same as arm64 'virt' machine but contains our accelerator peripheral model. The peripheral model just passes the ioctl requests from the driver to the simulator shared library. This application runs ok

Re: Questions about virtio DMA operations

2021-08-31 Thread Peter Maydell
On Tue, 31 Aug 2021 at 05:48, Arnabjyoti Kalita wrote: > > Dear Peter, > > I had a few additional questions with regards to dma_memory_map(). So, > let's say I record the buffer that has been written/read from the > disk. > > iov[num_sg].iov_base = dma_memory_map(vdev->dma_as, pa, &len, s_write ?

Re: Virtual FAT disk images

2021-08-31 Thread Pascal
up :-) nobody uses this feature of qemu? Le ven. 27 août 2021 à 11:11, Pascal a écrit : > hello everybody, > > virtual FAT disk image - *which is a convenient way to transfer files to > the guest without having to activate its network* - seems to work very > poorly with Windows : do you have the