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: Pavel Dovgalyuk
Subject: Re: [Qemu-devel] [RFC PATCH v6 00/20] replay additions
Date: Tue, 13 Feb 2018 09:50:51 +0300

Your command line looks wrong, because you forgot –icount, but specified other 
replay options.

I tried recording and replaying with your command line and the execution hangs 
at some moment of replay.

The problem may be hidden in –dtb option, because it may add the devices 
without configuring replay for them.

Can you specify the whole hardware configuration in the command line?

 

Pavel Dovgalyuk

 

From: Ciro Santilli [mailto:address@hidden 
Sent: Tuesday, February 13, 2018 8:58 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

 

 

 

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]