From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44219) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhBXO-0000jS-1g for qemu-devel@nongnu.org; Tue, 06 Sep 2016 04:15:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bhBXM-0007O0-1T for qemu-devel@nongnu.org; Tue, 06 Sep 2016 04:15:20 -0400 Received: from mail-qk0-x22d.google.com ([2607:f8b0:400d:c09::22d]:34289) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhBXL-0007Nq-TV for qemu-devel@nongnu.org; Tue, 06 Sep 2016 04:15:19 -0400 Received: by mail-qk0-x22d.google.com with SMTP id t7so210093624qkh.1 for ; Tue, 06 Sep 2016 01:15:19 -0700 (PDT) MIME-Version: 1.0 From: "Aarian P. Aleahmad" Date: Tue, 6 Sep 2016 12:44:39 +0430 Message-ID: Content-Type: text/plain; charset=UTF-8 Subject: [Qemu-devel] virtio ssd caching List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, kvm@vger.kernel.org Hi there I am looking for a solution to cache a VM on a SSD without the guest knowing about it. We can do it by caching the disk on which the VM's disk is lcoated with a SSD or we can do it through the hypervisor (i.e. Qemu, KVM, etc.). I was thinking about passing an ssd device to the hypervisor as a cache disk (e.g. passing /dev/sdb to the hypervisor) or making a new virtual disk image and storing it on a SSD and passing the SSD located vDisk to the hypervisor as a cache. Thus, I would like to know whether is it possible or not, and if not, if I wish to implement such a thing, what should I do and whether is there any reusable code to do so or not? Thanks