[libvirt-users] 32 bit client on 32bit host

Roland Giesler roland at giesler.za.net
Fri Jun 21 15:38:48 UTC 2013


Bump.

On Wed, Jun 19, 2013 at 3:34 PM, Roland Giesler <roland at giesler.za.net>wrote:

> As mentioned in another post, I trying to set up an existing Windows7
> partition on an Ubuntu desktop as a libvirt guest and now have the
> following configuration files for this:
>
> <domain type='qemu'>
>   <name>Windows7</name>
>   <uuid>b2c9c297-907a-159d-7e87-a24a01eb5a57</uuid>
>   <memory unit='KiB'>1048576</memory>
>   <currentMemory unit='KiB'>1048576</currentMemory>
>   <vcpu placement='static'>1</vcpu>
>   <os>
>     <type arch='i686' machine='pc-1.2'>hvm</type>
>     <boot dev='hd'/>
>     <bootmenu enable='yes'/>
>   </os>
>   <features>
>     <acpi/>
>     <apic/>
>     <pae/>
>   </features>
>   <cpu mode='custom' match='exact'>
>     <model fallback='allow'>kvm32</model>
>     <vendor>Intel</vendor>
>     <feature policy='require' name='pbe'/>
>     <feature policy='require' name='tm2'/>
>     <feature policy='require' name='osxsave'/>
>     <feature policy='require' name='ss'/>
>     <feature policy='require' name='lm'/>
>     <feature policy='require' name='dtes64'/>
>     <feature policy='require' name='ht'/>
>     <feature policy='require' name='ds'/>
>     <feature policy='require' name='lahf_lm'/>
>     <feature policy='require' name='xsave'/>
>     <feature policy='require' name='tm'/>
>     <feature policy='require' name='pdcm'/>
>     <feature policy='require' name='pse36'/>
>     <feature policy='require' name='ds_cpl'/>
>     <feature policy='require' name='cx16'/>
>     <feature policy='require' name='xtpr'/>
>     <feature policy='require' name='acpi'/>
>   </cpu>
>   <clock offset='localtime'/>
>   <on_poweroff>destroy</on_poweroff>
>   <on_reboot>restart</on_reboot>
>   <on_crash>restart</on_crash>
>   <devices>
>     <emulator>/usr/bin/qemu-system-i386</emulator>
>     <disk type='block' device='disk'>
>       <driver name='qemu' type='raw'/>
>       <source dev='/dev/sda1'/>
>       <target dev='hda' bus='ide'/>
>       <address type='drive' controller='0' bus='0' target='0' unit='0'/>
>     </disk>
>     <controller type='usb' index='0'>
>       <address type='pci' domain='0x0000' bus='0x00' slot='0x01'
> function='0x2'/>
>     </controller>
>     <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:22:60:93'/>
>       <source network='default'/>
>       <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'/>
>     <graphics type='vnc' port='-1' autoport='yes'/>
>     <sound model='ich6'>
>       <address type='pci' domain='0x0000' bus='0x00' slot='0x04'
> function='0x0'/>
>     </sound>
>     <video>
>       <model type='vga' 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>
>
> I manually changed the
> <emulator>/usr/bin/qemu-system-x86_64</emulator> to
> <emulator>/usr/bin/qemu-system-i386</emulator> since my hard drive
> partition contains 32bit Windows 7, although I'm not sure that this
> applies.
>
> My current machine setup it dual-boot, so I can boot Windows 7 from
> the first partition (/dev/sda1) using a grub boot menu.  However, when
> I start the Windows 7 VM, I just get "Booting from Hard Disk" in the
> virt-manager console.
>
> What could be the problem?
>
> Lastly: /def/sda1 in a boot partition, but the rest of Windows is
> installed on /dev/sda2, but this partition is not marked bootable.
>
> thanks
>
> Roland
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20130621/6fd24f5c/attachment.htm>


More information about the libvirt-users mailing list