qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] fstrim and cache=none


From: Dusty Mabe
Subject: Re: [Qemu-devel] fstrim and cache=none
Date: Tue, 4 Jun 2013 08:01:30 -0400

On Tue, Jun 4, 2013 at 2:53 AM, Paolo Bonzini <address@hidden> wrote:
>
> Please attach the QEMU command line too.  I'll try to reproduce.
>

The command line is below (sorry it's so large). A little context: sda
is a raw disk image backed by a file, while sdb is backed by a thin
logical volume in the host.

/usr/bin/qemu-system-x86_64 -machine accel=kvm -name Fed19 -S -machine
pc-i440fx-1.5,accel=kvm,usb=off -m 2048 -realtime mlock=off -smp
1,sockets=1,cores=1,threads=1 -uuid
f8c227a7-432e-377b-275e-7efbae3c41f9 -no-user-config -nodefaults
-chardev 
socket,id=charmonitor,path=/var/lib/libvirt/qemu/Fed19.monitor,server,nowait
-mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc
-no-shutdown -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2
-device virtio-scsi-pci,id=scsi0,bus=pci.0,addr=0x4 -drive
file=/guests/Fed19.img,if=none,id=drive-scsi0-0-0-0,format=raw,discard=unmap
-device 
scsi-hd,bus=scsi0.0,channel=0,scsi-id=0,lun=0,drive=drive-scsi0-0-0-0,id=scsi0-0-0-0,bootindex=1
-drive 
file=/dev/vgthin/lv3,if=none,id=drive-scsi0-0-0-1,format=raw,cache=none,discard=unmap
-device 
scsi-hd,bus=scsi0.0,channel=0,scsi-id=0,lun=1,drive=drive-scsi0-0-0-1,id=scsi0-0-0-1
-drive if=none,id=drive-ide0-1-0,readonly=on,format=raw -device
ide-cd,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 -netdev
tap,fd=26,id=hostnet0,vhost=on,vhostfd=27 -device
virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:89:0f:df,bus=pci.0,addr=0x3
-chardev pty,id=charserial0 -device
isa-serial,chardev=charserial0,id=serial0 -vnc 127.0.0.1:0 -vga cirrus
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x5


Dusty



reply via email to

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