October 5, 201411 yr KVM newbie here, just hoping to get my feet wet with a basic Windows 7 VM. I don’t want passthrough or anything fancy right now, just for the thing to boot and browse the web. I created my instance, and the system boots from my Win 7 installation ISO, however when it asks me for the HD to install to, there is nothing listed. I do have a qcow2 image attached. My XML is below, thanks in advance <domain type='kvm'> <name>Win7</name> <uuid>92387364-f86f-3c05-be87-83b570a9f6e8</uuid> <description>None</description> <memory unit='KiB'>2097152</memory> <currentMemory unit='KiB'>2097152</currentMemory> <vcpu placement='static'>2</vcpu> <os> <type arch='x86_64' machine='pc-i440fx-2.1'>hvm</type> <boot dev='hd'/> <boot dev='cdrom'/> <bootmenu enable='yes'/> </os> <features> <acpi/> <apic/> <pae/> </features> <cpu mode='host-model'> <model fallback='allow'/> </cpu> <clock offset='utc'/> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>restart</on_crash> <devices> <emulator>/usr/bin/qemu-system-x86_64</emulator> <disk type='file' device='disk'> <driver name='qemu' type='qcow2'/> <source file='/mnt/user/VirtualBox VMs/KVM/disk/Win7.img'/> <target dev='vda' bus='virtio'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/> </disk> <disk type='file' device='cdrom'> <driver name='qemu' type='raw'/> <source file='/mnt/user/VirtualBox VMs/KVM/iso/Win7ProUpgEdux64iso.iso'/> <target dev='hda' bus='ide'/> <readonly/> <address type='drive' controller='0' bus='1' target='0' unit='1'/> </disk> <controller type='usb' index='0'> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/> </controller> <controller type='pci' index='0' model='pci-root'/> <controller type='ide' index='0'> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/> </controller> <interface type='network'> <mac address='52:54:00:ec:3d:43'/> <source network='virtNet'/> <model type='virtio'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> </interface> <serial type='pty'> <target port='0'/> </serial> <console type='pty'> <target type='serial' port='0'/> </console> <input type='tablet' bus='usb'/> <input type='mouse' bus='ps2'/> <input type='keyboard' bus='ps2'/> <graphics type='vnc' port='-1' autoport='yes' websocket='-1' listen='0.0.0.0'> <listen type='address' address='0.0.0.0'/> </graphics> <video> <model type='cirrus' vram='9216' heads='1'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/> </video> <memballoon model='virtio'> <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/> </memballoon> </devices> </domain>
October 5, 201411 yr You need to add this part. <disk type='file' device='cdrom'> <driver name='qemu' type='raw'/> <source file='/path to/virtio-win-0.1-81.iso'/> <target dev='sdd' bus='sata'/> <readonly/> </disk> DL iso from here : https://alt.fedoraproject.org/pub/alt/virtio-win/latest/images/bin/ Then load drivers from this cdrom, when you are where you shall chose HD to install, after that, the HD is listed //Peter
October 6, 201411 yr Author Thanks for the help. Out of curiosity, how come I need to load the AMD driver when I am running on an Intel i3?
October 8, 201411 yr Thanks for the help. Out of curiosity, how come I need to load the AMD driver when I am running on an Intel i3? If I remember correctly it was a Redhat scsi driver that was needed for virtio not anything AMD.
October 17, 201411 yr Thanks for the help. Out of curiosity, how come I need to load the AMD driver when I am running on an Intel i3? If I remember correctly it was a Redhat scsi driver that was needed for virtio not anything AMD. You are correct.
Archived
This topic is now archived and is closed to further replies.