pre/post vm start commands

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

 



Hi there,

for development i use a windows vm. which is installed into a disk image. because the compiler generates a lot of temporary files into the user tempdir (C:\\Documents And Users\\User\\Local Settings\\Temp) the vm becomes quite slow after a couple of weeks and i register a lot activity on the disk.
so i moved the temp directory to a ram disk and no more problems.

but because the ram disk is not formated on startup i need to do this by hand. so i disabled autostart for the vm and do the following:

$ sudo mkfs.ntfs -q -L TEMP -I /dev/ram0
$ sudo virsh start windows

so the question is, does libvirt provide some kind of pre startup script which is will be executed before the libvirtd does the autostart for the vm.
--
Best Regards
Soeren


[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux