qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [RFC PATCH v6 00/20] replay additions


From: Ciro Santilli
Subject: Re: [Qemu-devel] [RFC PATCH v6 00/20] replay additions
Date: Tue, 13 Feb 2018 05:58:10 +0000

On Mon, Feb 12, 2018 at 5:47 AM, Pavel Dovgalyuk <address@hidden> wrote:

> I tested ARM only with –kernel and –initrd.
>
> Can you provide the full command line and the disk image?
>
>
>

The command I tried was:

time ./buildroot/output.arm~/host/usr/bin/qemu-system-arm -M versatilepb
-append 'root=/dev/sda nokaslr norandmaps printk.devkmsg=on printk.time=y -
lkmc_eval="/rand_check.out;wget -S google.com;/poweroff.out;"' -kernel
./buildroot/output.arm~/images/zImage -dtb
./buildroot/output.arm~/images/versatile-pb.dtb -nographic -drive
file=./buildroot/output.arm~/images/rootfs.ext2,if=scsi,id=img-direct,format=raw
-drive driver=blkreplay,if=none,image=img-direct,id=img-blkreplay -device
scsi-hd,drive=img-blkreplay -netdev user,id=net1 -device
rtl8139,netdev=net1 -object filter-replay,id=replay,netdev=net1

and the required files can be downloaded from:

https://github.com/cirosantilli/linux-kernel-module-cheat/releases/download/test-replay-arm/images.zip

They were generated with:

./build -a arm

on that repo.



> Pavel Dovgalyuk
>
>
>
> *From:* Ciro Santilli [mailto:address@hidden
> *Sent:* Saturday, February 10, 2018 3:09 AM
> *To:* Pavel Dovgalyuk
> *Cc:* Pavel Dovgalyuk; address@hidden; address@hidden; Peter
> Maydell; address@hidden; Igor R; address@hidden;
> address@hidden; address@hidden; Aleksandr Bezzubikov;
> address@hidden; address@hidden; Thomas Dullien;
> address@hidden; Alex Bennée
> *Subject:* Re: [RFC PATCH v6 00/20] replay additions
>
>
>
> Also, what command do you use to test on ARM? I'm a bit stuck to get the
> drive part right, e.g.:
>
>
>
> -drive 
> file=./buildroot/output.arm~/images/rootfs.ext2,if=scsi,id=img-direct,format=raw
> \
>
> -drive driver=blkreplay,if=none,image=img-direct,id=img-blkreplay \
>
> -device scsi-hd,drive=img-blkreplay \
>
>
>
> fails with: qemu-system-arm: -device scsi-hd,drive=img-blkreplay:
> Conflicts with use by img-direct as 'root', which does not allow 'write' on
> #block968
>
>
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]