Hi all,
Really enjoying KVM as I was a long time user of Xen. Both are cool, just enjoying the new thing.
Wondering if any one could share some nuggets on how to get a Centos 5.1 VM guest to use virtio?
Trying to use virtio over the ide.
Thanks in advance,
- aurf
aurfalien writes:
Hi all,
Really enjoying KVM as I was a long time user of Xen. Both are cool, just enjoying the new thing.
Wondering if any one could share some nuggets on how to get a Centos 5.1 VM guest to use virtio?
Trying to use virtio over the ide.
Are you talking about a windows guest?
Installing the vm with virt-install, use --disk path=/path/to/disk,device=disk,bus=virtio \ --disk path=/tmp/virtio-win-1.1.16.vfd,device=floppy,perms=ro
The first line specifies the disk for the vm (e.g. C drive), I usually use an lvol. The second line specifies the path to the virtual floppy drive with the virtio drivers. For xp, you cannot use the cdrom/.iso version of same, the xp installer accepts only a floppy (F6, install 3rd party drivers). Newer windows versions may be able to deal with an iso.
Digimer's tutorial is well worth a read, even if you end up doing something entirely different.
On Apr 25, 2012, at 5:46 PM, Lars Hecking wrote:
aurfalien writes:
Hi all,
Really enjoying KVM as I was a long time user of Xen. Both are cool, just enjoying the new thing.
Wondering if any one could share some nuggets on how to get a Centos 5.1 VM guest to use virtio?
Trying to use virtio over the ide.
Are you talking about a windows guest?
Hi,
Well, I have a Centos 6 host and a Centos 5.1 guest.
I would like that guest to take advantage of virtio.
Also, would you happen to know how I can mount qcow2 images on my host? I would like to mount it on my host as just another directory.
I've give up for now.
Using guestfish only allows me to manipulate while within guestfish which doesn't have access to my host, only the vm image I told it to mount.
Or, should I start another thread? :)
- aurf
On Apr 25, 2012, at 5:46 PM, Lars Hecking wrote:
aurfalien writes:
Hi all,
Really enjoying KVM as I was a long time user of Xen. Both are cool, just enjoying the new thing.
Wondering if any one could share some nuggets on how to get a Centos 5.1 VM guest to use virtio?
Trying to use virtio over the ide.
Are you talking about a windows guest?
Hi,
So I updated my Centos 5.1 guest kernel only, to 2.6.18-308.4.1.
Does this or can it have virtio support?
Do I need to install other packages?
- aurf
On 26.04.2012 22:53, aurfalien wrote:
On Apr 25, 2012, at 5:46 PM, Lars Hecking wrote:
aurfalien writes:
Hi all,
Really enjoying KVM as I was a long time user of Xen. Both are cool, just enjoying the new thing.
Wondering if any one could share some nuggets on how to get a Centos 5.1 VM guest to use virtio?
Trying to use virtio over the ide.
Are you talking about a windows guest?
Hi,
So I updated my Centos 5.1 guest kernel only, to 2.6.18-308.4.1.
Does this or can it have virtio support?
Do I need to install other packages?
- aurf
CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
If that kernel is the one from Centos 5.4 or newer, then you might get lucky; ideally you should update the whole thing to latest. Any reason to not do so?
On Apr 26, 2012, at 6:07 PM, Nux! wrote:
On 26.04.2012 22:53, aurfalien wrote:
On Apr 25, 2012, at 5:46 PM, Lars Hecking wrote:
aurfalien writes:
Hi all,
Really enjoying KVM as I was a long time user of Xen. Both are cool, just enjoying the new thing.
Wondering if any one could share some nuggets on how to get a Centos 5.1 VM guest to use virtio?
Trying to use virtio over the ide.
Are you talking about a windows guest?
Hi,
So I updated my Centos 5.1 guest kernel only, to 2.6.18-308.4.1.
Does this or can it have virtio support?
Do I need to install other packages?
- aurf
CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
If that kernel is the one from Centos 5.4 or newer, then you might get lucky; ideally you should update the whole thing to latest. Any reason to not do so?
Well, its a software license server and I dont want to break anything.
I would rather just update whats needed as the kernel update didn't seem to work.
Or, should I change the fstab on the running VM after setting the disk type to virtio first?
I assume the mount points should be /dev/vda# etc...
- aurf
On 26.04.2012 23:12, aurfalien wrote:
On Apr 26, 2012, at 6:07 PM, Nux! wrote:
On 26.04.2012 22:53, aurfalien wrote:
On Apr 25, 2012, at 5:46 PM, Lars Hecking wrote:
aurfalien writes:
Hi all,
Really enjoying KVM as I was a long time user of Xen. Both are cool, just enjoying the new thing.
Wondering if any one could share some nuggets on how to get a Centos 5.1 VM guest to use virtio?
Trying to use virtio over the ide.
Are you talking about a windows guest?
Hi,
So I updated my Centos 5.1 guest kernel only, to 2.6.18-308.4.1.
Does this or can it have virtio support?
Do I need to install other packages?
- aurf
CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
If that kernel is the one from Centos 5.4 or newer, then you might get lucky; ideally you should update the whole thing to latest. Any reason to not do so?
Well, its a software license server and I dont want to break anything.
I would rather just update whats needed as the kernel update didn't seem to work.
Or, should I change the fstab on the running VM after setting the disk type to virtio first?
I assume the mount points should be /dev/vda# etc...
Yes, virtio devices are /dev/vdX. You might be better off using UUIDs or LABELs instead.
On 27.4.2012 00:12, aurfalien wrote:
Or, should I change the fstab on the running VM after setting the disk type to virtio first?
I assume the mount points should be /dev/vda# etc...
You have to change the fstab *before* you change to virtio. But thats not enough, you have to tell your initrd to include the virtio drivers.
have a look (for example) at http://wiki.libvirt.org/page/Virtio