Thursday, June 5, 2014

Re: [fedora-virt] images on tmpfs?

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Public key at http://people.redhat.com/eblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBCAAGBQJTkJsnAAoJEKeha0olJ0NqtFkH/3GiMEGywQFRRHXMEu8W7khF
Yo3CfEnq1gkxk162r+Z6sfHlqfTPiuP4nxO9aHtk5kvbRmB6Qv2Zx2BgYrxDukEM
Z04RPEYF3VvbTUys6U3YcssFZPTB5ph+bUwFuDzGu6RTLeKS31YPYR22ScPqkBoP
065EOHnZTWHe0ITXzcUtptCk8onyAR8bjoTplp8U6xrqlpCKzhbD3myIf9/wDc26
zEwU4uweVhchEIhNsLuy5v7dAAvb9YbYu4DJ2O/8JuNVHJzpsWIdzl9guWHD2gd0
qWP23rBiY+CcrxmWD1j67ikEKo7GX0mfq/VB6s4eFJBrf510F+ByFmGt5bJHE2w=
=6z4s
-----END PGP SIGNATURE-----
On 06/05/2014 10:13 AM, Tom Horsley wrote:
> Anyone know why qemu wouldn't want to run a virtual
> machine installing to a qcow2 image file on a tmpfs
> filesystem?
>
> They are doing a lot of test installs in virtual machines
> at work, and I suggested creating a storage pool
> in tmpfs (the host machine has vast amounts of memory)
> as something that might make the install go faster,
> but it seems to refuse to even attempt to use the
> tmpfs image.

What caching mode are you requesting? tmpfs can't (yet) support
O_DIRECT, and if the caching mode you request causes qemu to try
O_DIRECT, that would explain why it is failing.

--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org

No comments:

Post a Comment