Re: raw disks no longer work in latest kvm (kvm-88 was fine)

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

 



On 03/07/2010 09:09 PM, Asdo wrote:
Avi Kivity wrote:
On 03/07/2010 08:01 PM, Antoine Martin wrote:

Yes cache=none: "-drive file=./vm/var_fs,if=virtio,cache=none"

Side question: this is the right thing to do for raw partitions, right?

The rightest.

Isn't cache=writeback now safe on virtio-blk since 2.6.32?

Yes.

Doesn't it provide better performances?

No. The guest will do its own caching, so unless the guest is really short of memory, you aren't gaining much; and the copying will hurt.


Also that looks like a raw file to me, not a partition... do they follow the same optimization "rule"?

More or less.

--
Do not meddle in the internals of kernels, for they are subtle and quick to panic.

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux