schumilo / vUSBf

GNU General Public License v2.0
157 stars 35 forks source link

Testcase count stuck at 0 #6

Open 0roman opened 5 years ago

0roman commented 5 years ago

This issue is similar to the closed #5.

I have tried vUSBf with different operating systems, such as CirrOS. CirrOS is a minimal linux distribution.

In #5 there was a problem with the QEMU snapshot

how i built my vm

  1. I've downloaded the CirrOS. It already had qcow format. wget http://download.cirros-cloud.net/0.4.0/cirros-0.4.0-x86_64-disk.img
  2. I've created overlay and ram. qemu-img create -b cirros-0.4.0-x86_64-disk.img -f qcow2 overlay.qcow2 qemu-img create -f qcow2 ram.qcow2 1G
  3. I've logged in the vm and changed the verbosity of printk echo '7' > /proc/sys/kernel/printk
  4. I've pressed CTRL + A + C and then saved a qemu vm snapshot with savevm replay

My new.config file contains the following:

# QEMU BINARAY
qemu_bin:   /usr/local/bin/qemu-system-x86_64

# KVM SUPPORT
kvm:        no

# MEMORY SIZE (MB)
memory:     1024    

# RAM FILE
ram_file:   PATH_TO_WORKSPACE/ram.qcow2

# OVERLAY FILE
overlay_file:   PATH_TO_WORKSPACE/overlay.qcow2

# OVERLAY FOLDER
overlay_folder: PATH_TO_WORKSPACE

# USB DEVICE TYPE
device_type:    nec-usb-xhci

# EXTRA QEMU PARAMETER
qemu_extra: ""

# SNAPSHOT
snapshot:   replay
bemboes commented 1 month ago

Did you manage to fix the problem? im trying to get vUSBf up and running but my testcase count is also stuck at 0