[libvirt-users] XP and virtio

Mauricio Tavares raubvogel at gmail.com
Fri Aug 1 12:48:55 UTC 2014


On Fri, Aug 1, 2014 at 6:49 AM, Andrew Cathrow <acathrow at redhat.com> wrote:
>
>
> ----- Original Message -----
>> From: "Sven Schwedas" <sven.schwedas at tao.at>
>> To: libvirt-users at redhat.com
>> Sent: Friday, August 1, 2014 2:29:22 AM
>> Subject: Re: [libvirt-users] XP and virtio
>>
>> On 2014-07-31 20:05, Mauricio Tavares wrote:
>> >       So I need to create a XP vm. I am using lvm logical volumes for
>> > its disk, so I am using virtio. I got the iso in
>> > http://alt.fedoraproject.org/pub/alt/virtio-win/latest/images/bin/images/,
>> > but how do I feed it to the XP install? I did try to mount it as a
>> > floppy and it hung there on "please wait"; I guess that means it did
>> > not like a 70MB iso as its floppy. But it also does not seem to want
>> > to look for the drivers if I mount the .iso as a CD. What else can I
>> > try?
>>
>> XP cannot read drivers from additional CDs. You either have to integrate
>> them into the installer with nLite or similar tools, or copy them to a

      Is that similar to slipstream?

>> floppy format recognized by XP (whatever that would be).
>

      I tried to create a floppy like this

mkfs.vfat -C "virtio-floppy.img" 1440
sudo mount -o loop,uid=$UID -t vfat virtio-floppy.img /mnt
# copy drivers
# umount

then fed it to the xp vm, which cheerfully ignored it.

> And if I remember correctly VirtIO on XP wasn't too much better than IDE so using IDE for your install disk should provide acceptable performance. But you should still use virtio for your NIC.
>
      In that case can I convert

    <disk type='block' device='disk'>
      <driver name='qemu' type='raw'/>
      <source dev='/dev/vmhost_vg1/xp'/>
      <target dev='vda' bus='virtio'/>
    </disk>

to something like

    <disk type='block' device='disk'>
      <driver name='qemu' type='raw'/>
      <source dev='/dev/vmhost_vg1/xp'/>
      <target dev='hda' bus='ide'/>
    </disk>

and get away with it? If so, I must be missing something.

>>
>>
>> --
>> Mit freundlichen Grüßen, / Best Regards,
>> Sven Schwedas
>> Systemadministrator
>> TAO Beratungs- und Management GmbH | Lendplatz 45 | A - 8020 Graz
>> Mail/XMPP: sven.schwedas at tao.at | +43 (0)680 301 7167
>> http://software.tao.at
>>
>>
>> _______________________________________________
>> libvirt-users mailing list
>> libvirt-users at redhat.com
>> https://www.redhat.com/mailman/listinfo/libvirt-users
>
> _______________________________________________
> libvirt-users mailing list
> libvirt-users at redhat.com
> https://www.redhat.com/mailman/listinfo/libvirt-users




More information about the libvirt-users mailing list