--
Best Regards / Pozdrawiam,
Marek Marczykowski
Invisible Things Lab
name = "win7"builder='hvm'
memory=1024
#viridian=1
kernel='hvmloader'
#acpi=1
#apic=1
boot='dca'
device_model='qemu-dm'
#pae=1
usbdevice='tablet'
sdl=0
vnc=1
vnclisten='127.0.0.1'
disk=[ 'file:/var/lib/qubes/hvm/win7.img,hda,w' ]
#, 'file:/tmp/win7-install.iso,hdc:cdrom,r' ]
vif=[ 'script=/etc/xen/scripts/vif-nat,ip=10.138.0.4,mac=00:11:22:33:44:55' ]
#tsc_mode = 2
#xen_extended_power_mgmt=0
vcpus = 1on_poweroff = 'destroy'
on_reboot = 'restart'
on_crash = 'preserve'
If so, perhaps have hardcoded dom0 as
backend domain (which is sadly quite popular bug...). You can check 'xl dmesg'
in dom0, if I guessed correctly, there will be some messages about gnttab or so.
> Same results for kernel 3.2 and 3.4.
Where? In dom0? Or netvm/firewallvm?
Ok, will check.
> Same results for kernel 3.2 and 3.4.
Where? In dom0? Or netvm/firewallvm?
Initial tests were done for 3.2 in both dom0 and vms.
Then I've installed 3.4 to test pvusb stuf. Certainly in dom0, I will check if I upgraded only the development VM or the template, probably the template.
If you want to stick with HVM, you can use qvm-create --hvm, with new xen etc.
It really have many things fixed (eg non-dom0 backend support).
--
These instructions worked for me.
Create standalone VM with default template, replaced vmlinuz with netbsd-INSTALL_XEN3_DOMU kernel. During setup chosen to install on xbd1 hard disk. Could not figure out how to attach CD, 'qvm-start --cdrom=...' says VM does not support attaching disks. DHCP client in NetBSD didn't work during installation, so I had to manually configure the networking. The installation went fine, enabled SSHD during post-install configuration. Replaced the kernel with netbsd-XEN3_DOMU as the wiki says. It fails to boot automatically, need to explicitly specify xbd1a as root device when prompted. After bootstrap all works just fine, networking seems to work too (xennet0).
These are pretty much the same instructions as at
www.qubes-os.org/doc/netbsd and worked for me. That was some time ago.
What error are you getting when trying to atatch the cdrom drive?
It occurs to me that if you replace root.img with the NetBSD iso then
the qube would boot straight in to installation mode. Havent tried it
but it seems likely.
Obviously you may want to remove the installer afterwards, but as you
will be specifying the disk to boot from it probably wont be necessary.