[Qemu-discuss] How to use qemu for non-interactive testing

2015-10-19 Thread Wink Saville
I would like to use qemu in a test environment where I give a "kernel" image to qmeu have it execute it and then when complete have qemu exit. Currently when executing: $ qemu-system-arm -M versatilepb -m 128M -nographic -kernel test.bin ... Hi $ After test.bin prints "Hi" via the "Uart i

Re: [Qemu-discuss] How to use qemu for non-interactive testing

2015-10-19 Thread Wink Saville
THANKS, I'll give those things a try! On Mon, Oct 19, 2015, 1:46 PM Peter Maydell wrote: > On 19 October 2015 at 20:30, Wink Saville wrote: > > I would like to use qemu in a test environment where I give a "kernel" > image > > to qmeu have it execute it and

[Qemu-discuss] Documenation for qemu-system-arm

2015-12-04 Thread Wink Saville
How can I determine what is actually implemented for a particular "machine" such as VersatilePB for qemu-system-arm. The actual VersatilePB uses an ARM926EJ-S cpu, but what happens to the peripherals and memory map when I change the cpu to ARM1176? Thanks in advance, Wink

Re: [Qemu-discuss] Documenation for qemu-system-arm

2015-12-05 Thread Wink Saville
Thanks Peter, is there any documentation for any configuration? On Sat, Dec 5, 2015, 3:52 AM Peter Maydell wrote: > On 4 December 2015 at 19:32, Wink Saville wrote: > > How can I determine what is actually implemented for a particular > "machine" > > such as Ver

[Qemu-discuss] Modern Network Interface Card emulation

2015-12-16 Thread Wink Saville
I'm wondering if there is a modern NIC emulated with qemu. By modern, I mean a NIC that it exists on a motherboard and that I could by today on Amazon or Newegg. This could be for an X86_64 or maybe ARM. Thanks, Wink

Re: [Qemu-discuss] Modern Network Interface Card emulation

2015-12-16 Thread Wink Saville
Yea, I saw that, but I couldn't find any motherboards with an 8254x chip (maybe that's the wrong chip), would you happen to of know of one? On Wed, Dec 16, 2015 at 7:48 PM B Cran wrote: > On Wed, Dec 16, 2015 at 5:54 PM, Wink Saville wrote: > > I'm wondering if there

Re: [Qemu-discuss] Modern Network Interface Card emulation

2015-12-17 Thread Wink Saville
Good advice, thank you. As far as what the PC base chip set is, good question, I'll see if I can find out. On Thu, Dec 17, 2015, 7:49 AM Jakob Bohm wrote: > On 17/12/2015 05:06, Wink Saville wrote: > > Yea, I saw that, but I couldn't find any motherboards with an 8254x chip

Re: [Qemu-discuss] Modern Network Interface Card emulation

2015-12-17 Thread Wink Saville
H9, 2009) pc-q35-1.5 Standard PC (Q35 + ICH9, 2009) pc-q35-1.4 Standard PC (Q35 + ICH9, 2009) isapcISA-only PC none empty machine On Thu, Dec 17, 2015 at 1:59 PM Wink Saville wrote: > Good advice, thank you. As far as what the PC base chip set is, good

Re: [Qemu-discuss] Modern Network Interface Card emulation

2015-12-18 Thread Wink Saville
allocation, block IO > access and network connectivity, and possibly an accelerated graphics > display... most of this doesn't need much emulation of physical > hardware, certainly not some precise past chipset (south bridge). > What helps is a "virty-accelerated" passthroug

Re: [Qemu-discuss] Modern Network Interface Card emulation

2015-12-18 Thread Wink Saville
Yea, but I was hoping to just get something that limped along :) On Fri, Dec 18, 2015 at 11:15 AM Dale R. Worley wrote: > Wink Saville writes: > > Thanks for the insight, but I'm trying to do something different. I'm > > creating a bare metal system and I'd like

Re: [Qemu-discuss] How to use qemu for non-interactive testing

2015-12-18 Thread Wink Saville
Peter, I ended up using the first technique for VersatilePB and works just fine. Now I want to be able "power off" a qemu-system-i386 and I was wondering what you might suggest? I'm hoping there might be something "easy". -- Wink On Mon, Oct 19, 2015 at 1:49 PM Wink

Re: [Qemu-discuss] How to use qemu for non-interactive testing

2015-12-21 Thread Wink Saville
logic via ACPI/APM. > > There is a different monitor and/or qmp command to simulate > a hard power off while still keeping the virtualization > aspect of e.g. qcow2 files consistent. > > Finally, there is the option to simply kill the qemu > process. > > On 19/12/2015 00:39,

Re: [Qemu-discuss] How to use qemu for non-interactive testing

2015-12-21 Thread Wink Saville
at libvirt (which is huge) uses those. I am not up to date on > what the specific monitor and qmp commands are or where to find out. > > So basically, I don't know either. > > Hard killing the qemu process you launched yourself should be pretty > trivial using whatever too

Re: [Qemu-discuss] How to use qemu for non-interactive testing

2015-12-21 Thread Wink Saville
find that somewhere in > the Linux kernel source code. > > For qemu-i386 (and any of the other non-system qemu interpreters) > simply doing a normal program exit should do the trick. > > On 21/12/2015 20:13, Wink Saville wrote: > > Killing it "manually" is trivial

Re: [Qemu-discuss] How to use qemu for non-interactive testing

2015-12-22 Thread Wink Saville
I've tried that, but it didn't work. I believe its because I don't have ACPI initialized and enabled as I haven't got that far yet. If my guess is possibly correct, would you happen to know the minimum necessary instructions to initialize and enable ACPI? On Tue, Dec 22, 2015 at 4:29 AM Bodo Egger

[Qemu-discuss] qemu-system-x86_64 and ps/2 keyboard emulation

2016-04-13 Thread Wink Saville
I'm using qemu-system-x86_64 and now trying to test a baremetal program that uses serial port for debug output and a PS/2 keyboard for user input. This setup is working on my test hardware, but I'm unable to get it to work on qemu-system-x86_64: My command line is as follows: qemu-system-x86_64 -