Re: Converting from VirtIO to another disk controller

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

 



On Tue, Jun 7, 2016 at 8:18 AM, Stefan Hajnoczi <stefanha@xxxxxxxxx> wrote:
> On Fri, Jun 03, 2016 at 05:45:15PM -0400, Larry Martell wrote:
>> I have a CentOS VM with a VirtIO disk controller and I need to port
>> that to Virtual Box on a Mac. But Vbox does not support VirtIO, only
>> IDE, SATA, or SCSI. Is there a way to convert the VirtIO VM to one of
>> those disk controllers?
>
> Yes, depending on how the CentOS VM is configured you may be able to
> simply change the storage controller from virtio-blk to SATA.  Both QEMU
> and VirtualBox support SATA.  The key thing is to use disk/file system
> labels instead of hardcoding device paths into configuration files like
> /etc/fstab.  This solves the problem that the VM fails to boot when a
> device is renamed.
>
> You will probably find that the VM boots successfully if you change from
> virtio-blk to SATA.
>
> By the way, VirtualBox does support virtio-net so it's not generally
> true that VirtualBox doesn't support virtio.  It would be more correct
> to explicitly say "virtio-blk" instead of just "virtio" so that people
> reading this discussion don't take away the wrong idea.

Thanks for the reply. We could not figure out how to change the
controller on the KVM system, so I just recreated the VM from scratch
in VBox.
--
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