Re: [edk2] three SNP questions

2013-04-29 Thread Laszlo Ersek
Hello Mike, On 04/29/13 22:26, Kinney, Michael D wrote: > Laszlo, > > You should implement the WaitForPacket event. This is not documented > as optional in the UEFI Specification. I think the reason that > drivers can get away with not implementing the WaitForPacket event is > that this fields

Re: [edk2] running the StdLib socket test apps in OVMF [was: ovmf pxeboot]

2013-04-29 Thread Mcdaniel, Daryl
A manual step I always perform after reset and before doing any networking related operations (or put in startup.nsh) is: Ifconfig -s eth0 dhcp Daryl McDaniel "In the pun, two strings of thought are tangled into one acoustic knot." -- Arthur Koestler From: Duane Voth [mailto:du

Re: [edk2] Booting physical Windows while in Arch (AHCI support in OVMF?)

2013-04-29 Thread Joe Vernaci
| I know it's generally not a good idea to boot a physically installed OS, but I want to try it anyway? I did have this working years ago with XP (obviously not EFI) booting bare metal and as a VM guest. Every time I went between bare metal and the VM it would complain about activation being inval

Re: [edk2] three SNP questions

2013-04-29 Thread Kinney, Michael D
Laszlo, You should implement the WaitForPacket event. This is not documented as optional in the UEFI Specification. I think the reason that drivers can get away with not implementing the WaitForPacket event is that this fields appears to be rarely used by higher layers in the network stack.

Re: [edk2] Booting physical Windows while in Arch (AHCI support in OVMF?)

2013-04-29 Thread Evert Heylen
Oops, my fault. Accidently pressed some gmail shortcut. I've made an img with DUET on it, but I'm still a bit confused about how to use it. Right now I try: qemu-system-x86_64 -enable-kvm -smp 4 -cpu host -m 4096 -hda /path/to/DUETimg -device ahci,id=ahci0 -drive if=none,file=/dev/sda,format=raw,

Re: [edk2] Booting physical Windows while in Arch (AHCI support in OVMF?)

2013-04-29 Thread Evert Heylen
I've made an img with DUET on it, but I'm still a bit confused about how to use it. Right now I try: qemu-system-x86_64 -enable-kvm -smp 4 -cpu host -m 4096 -hda /path/to/DUETimg -device ahci,id=ahci0 -drive if=none,file=/dev/sda,format=raw,id=drive-sata0-0-0 -device driver=ide-drive,bus=ahci0.0,d

Re: [edk2] three SNP questions

2013-04-29 Thread Laszlo Ersek
On 04/29/13 20:19, Laszlo Ersek wrote: > Hi. > > I've been staring for hours at the Driver Writer's Guide and the Spec, > plus existing (apparently, with each other inconsistent) SNP > implementations in the edk2 tree. I think I'm finally able to ask two > (maybe three) questions. > > (1) Can I i

[edk2] three SNP questions

2013-04-29 Thread Laszlo Ersek
Hi. I've been staring for hours at the Driver Writer's Guide and the Spec, plus existing (apparently, with each other inconsistent) SNP implementations in the edk2 tree. I think I'm finally able to ask two (maybe three) questions. (1) Can I ignore implementing (= set to NULL) the WaitForPacket ev

Re: [edk2] dhcp in OVMF [was: ovmf pxeboot]

2013-04-29 Thread Laszlo Ersek
On 04/29/13 19:29, Paolo Bonzini wrote: > Il 29/04/2013 01:52, Laszlo Ersek ha scritto: >> I inserted the following rule at the second position manually: >> >> Chain POSTROUTING (policy ACCEPT 79 packets, 6075 bytes) >> pkts bytes target prot opt in out source >>

Re: [edk2] dhcp in OVMF [was: ovmf pxeboot]

2013-04-29 Thread Paolo Bonzini
Il 29/04/2013 01:52, Laszlo Ersek ha scritto: > I inserted the following rule at the second position manually: > > Chain POSTROUTING (policy ACCEPT 79 packets, 6075 bytes) > pkts bytes target prot opt in out source > destination >00 MASQUERADE t