Re: Property '.hmat' not found

2020-11-18 Thread Jack Kuo
> > Could you check what happens if you use > "-machine pc-i440fx-5.2,hmat=on" instead of "-machine hmat=on"? It failed, but `-machine pc-i440fx-4.2` worked without `hmat` option. So, the problem could be that I didn't fully compile QEMU, which specified `--target-list=x86_64-softmmu` in the conf

Re: Property '.hmat' not found

2020-11-18 Thread Eduardo Habkost
On Wed, Nov 18, 2020 at 06:16:36PM +0800, 郭俊甫 (Jack Kuo) wrote: > > > > Could you check what happens if you use > > "-machine pc-i440fx-5.2,hmat=on" instead of "-machine hmat=on"? > > > It failed, but `-machine pc-i440fx-4.2` worked without `hmat` option. > So, the problem could be that I didn't

Re: How to copy data between guest memory and host

2020-11-18 Thread 沈梦姣
By the way, I’m using TCG mode. Thanks > 在 2020年11月18日,下午3:44,沈梦姣 写道: > > Hi, > I’m adding device for one platform(e.g. mps2), and also writing driver for > that device on guest os. There is a buffer allocated in qemu where some data > will be cooked, and driver will update buffer address