<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
> Date: Wed, 14 Jul 2010 09:37:41 -0400<br>> From: crobinso@redhat.com<br>> To: johnlumby@hotmail.com<br>> CC: libvir-list@redhat.com; virt-tools-list@redhat.com<br>> Subject: Re: [libvirt] libvirtError: internal error unknown boot device 'floppy'<br>> <br>> On 07/13/2010 09:30 PM, John Lumby wrote:<br>> > Hello.    I believe I've found a bug in libvirtd but not sure.<br>> ><BR>> <br>> Can you provide the full output of the virt-install command with the --debug flag?<BR>>  - Cole<br> <br><BR>Below is what it wrote to my  ~/.virtinst/virt-install.log<p>(without the --debug flag but according to the man page it's the same debug output)<BR><br><BR>Interesting to see that it generated what looks to be a good .xml but it did not put that into my libvirt/qemu directory.<BR>Seems it just does not know about booting from a floppy?<BR><br><BR></p>If you need something else let me know.<br><BR><br><BR>John<BR><br><BR>[Tue, 13 Jul 2010 19:12:16 virt-install 30445] DEBUG (cli:192) Launched with command line:<br>/usr/local/bin/virt-install --connect qemu:///system --name=RH7win2k --ram=392 --cpuset=0 --description=wni 2k on RH7 disk on usb, nat network --import --network=network=default --virt-type=kqemu --accelerate --vnc --vncport=5905 --video=cirrus --disk=/mnt/soltbakp/commonfiles/win2k_boot.floppage,device=floppy --disk=/dev/sdc,device=disk --os-type=windows --os-variant=win2k<br>[Tue, 13 Jul 2010 19:12:16 virt-install 30445] DEBUG (cli:216) Requesting libvirt URI qemu:///system<br>[Tue, 13 Jul 2010 19:12:16 virt-install 30445] DEBUG (cli:218) Received libvirt URI qemu:///system<br>[Tue, 13 Jul 2010 19:12:16 virt-install 30445] DEBUG (virt-install:473) Requesting virt method 'default', hv type 'kqemu'.<br>[Tue, 13 Jul 2010 19:12:16 virt-install 30445] DEBUG (virt-install:795) Received virt method 'hvm'<br>[Tue, 13 Jul 2010 19:12:16 virt-install 30445] DEBUG (virt-install:796) Hypervisor name is 'kqemu'<br>[Tue, 13 Jul 2010 19:12:16 virt-install 30445] DEBUG (virt-install:330) parse_disk: returning {'format': None, 'bus': None, 'readOnly': False, 'volInstall': None, 'path': '/mnt/soltbakp/commonfiles/win2k_boot.floppage', 'device': 'floppy', 'volName': None, 'conn': <libvirt.virConnect instance at 0x84e6f6c>, 'size': None, 'driverCache': None, 'shareable': False, 'sparse': True}<br>[Tue, 13 Jul 2010 19:12:16 virt-install 30445] DEBUG (virt-install:330) parse_disk: returning {'format': None, 'bus': None, 'readOnly': False, 'volInstall': None, 'path': '/dev/sdc', 'device': 'disk', 'volName': None, 'conn': <libvirt.virConnect instance at 0x84e6f6c>, 'size': None, 'driverCache': None, 'shareable': False, 'sparse': True}<br>[Tue, 13 Jul 2010 19:12:17 virt-install 30445] DEBUG (Guest:1002) Generated install XML: None required<br>[Tue, 13 Jul 2010 19:12:17 virt-install 30445] DEBUG (Guest:1020) Generated boot XML: <br><domain type='kqemu'><br>  <name>RH7win2k</name><br>  <currentMemory>401408</currentMemory><br>  <memory>401408</memory><br>  <uuid>1ce5803c-69f9-5e94-7905-4ae6227ff7c5</uuid><br>  <description>wni 2k on RH7 disk on usb, nat network</description><br>  <os><br>    <type arch='i686'>hvm</type><br>    <boot dev='floppy'/><br>  </os><br>  <features><br>    <acpi/><apic/><pae/><br>  </features><br>  <clock offset="localtime"/><br>  <on_poweroff>destroy</on_poweroff><br>  <on_reboot>restart</on_reboot><br>  <on_crash>restart</on_crash><br>  <vcpu cpuset='0'>1</vcpu><br>  <devices><br>    <emulator>/usr/local/bin/qemu</emulator><br>    <disk type='file' device='floppy'><br>      <driver name='qemu'/><br>      <source file='/mnt/soltbakp/commonfiles/win2k_boot.floppage'/><br>      <target dev='fda' bus='fdc'/><br>    </disk><br>    <disk type='block' device='disk'><br>      <driver name='qemu'/><br>      <source dev='/dev/sdc'/><br>      <target dev='hda' bus='ide'/><br>    </disk><br>    <interface type='network'><br>      <source network='default'/><br>      <mac address='52:54:00:6d:d3:bd'/><br>    </interface><br>    <input type='tablet' bus='usb'/><br>    <graphics type='vnc' port='5905' keymap='en-us'/><br>    <console type='pty'/><br>    <video><br>      <model type='cirrus'/><br>    </video><br>  </devices><br></domain><br><br>[Tue, 13 Jul 2010 19:12:17 virt-install 30445] ERROR (virt-install:946) internal error unknown boot device 'floppy'<br>[Tue, 13 Jul 2010 19:12:17 virt-install 30445] ERROR (virt-install:1039) internal error unknown boot device 'floppy'<br>Traceback (most recent call last):<br>  File "/usr/local/bin/virt-install", line 1033, in <module><br>    main()<br>  File "/usr/local/bin/virt-install", line 915, in main<br>    start_time, guest.start_install)<br>  File "/usr/local/bin/virt-install", line 957, in do_install<br>    dom = install_func(conscb, progresscb, wait=(not wait))<br>  File "/usr/local/lib/python2.6/site-packages/virtinst/Guest.py", line 972, in start_install<br>    return self._do_install(consolecb, meter, removeOld, wait)<br>  File "/usr/local/lib/python2.6/site-packages/virtinst/Guest.py", line 1037, in _do_install<br>    "install")<br>  File "/usr/local/lib/python2.6/site-packages/virtinst/Guest.py", line 1021, in _create_guest<br>    self.domain = self.conn.defineXML(final_xml)<br>  File "/usr/local/lib/python2.6/site-packages/libvirt.py", line 1224, in defineXML<br>    if ret is None:raise libvirtError('virDomainDefineXML() failed', conn=self)<br>libvirtError: internal error unknown boot device 'floppy'<br> <br><BR><br>                                    <br /><hr />Enter for a chance to get your town photo on Bing.ca! <a href='http://go.microsoft.com/?linkid=9734383' target='_new'>Submit a Photo Now! </a></body>
</html>