[Qemu-devel] Is there a way to adjust the amount of ram kqemu has allocated for each guest on the fly?

2007-08-15 Thread n schembr
UMl allows you to allocate ram when the guest boots. After the guest is up and running you can reduce the available ram the guest has access to. If a guest runs low on ram you can increase the amount of host ram the guest can use on the fly. Can this be done with kqemu? Can you allocate

[Qemu-devel] Extending qemu_irq for reset signals

2007-08-15 Thread Blue Swirl
Hi, I'd like to use similar mechanism as qemu_irq as reset signal for devices. The difference is that the opaque data and callback are not specified at the time of creating the signal at upstream device, but when the receiving device is created. This does not fit current qemu_irq model. When you

[Qemu-devel] Re: Extending qemu_irq for reset signals

2007-08-15 Thread Blue Swirl
On 8/15/07, Paul Brook [EMAIL PROTECTED] wrote: On Wednesday 15 August 2007, Blue Swirl wrote: Hi, I'd like to use similar mechanism as qemu_irq as reset signal for devices. The difference is that the opaque data and callback are not specified at the time of creating the signal at

[Qemu-devel] Re: [PATCH] Dynamic ticks

2007-08-15 Thread Dan Kenigsberg
On Mon, Aug 13, 2007 at 10:37:41PM +0200, Luca Tettamanti wrote: I like it ;) I have some comments (and a reworked patch at the end): And thanks a lot for that. Plus, in this way you change the behaviour from always try RTC under Linux to don't use RTC is dynticks is enabled. Is this

[Qemu-devel] Re: Extending qemu_irq for reset signals

2007-08-15 Thread Paul Brook
Okay, more explaining. This is the case where I'd want to use the signal: DMA controller (upstream) can reset the slave device (ESP or Lance). DMA controller is created first and I also want to allocate reset signals at that point. Later when ESP is created, it should be possible to put ESP

[Qemu-devel] Re: Extending qemu_irq for reset signals

2007-08-15 Thread Paul Brook
On Wednesday 15 August 2007, Paul Brook wrote: Okay, more explaining. This is the case where I'd want to use the signal: DMA controller (upstream) can reset the slave device (ESP or Lance). DMA controller is created first and I also want to allocate reset signals at that point. Later when

[Qemu-devel] Re: Extending qemu_irq for reset signals

2007-08-15 Thread Blue Swirl
On 8/15/07, Paul Brook [EMAIL PROTECTED] wrote: On Wednesday 15 August 2007, Paul Brook wrote: Okay, more explaining. This is the case where I'd want to use the signal: DMA controller (upstream) can reset the slave device (ESP or Lance). DMA controller is created first and I also want to

[Qemu-devel] Re: Extending qemu_irq for reset signals

2007-08-15 Thread Paul Brook
On Wednesday 15 August 2007, Blue Swirl wrote: On 8/15/07, Paul Brook [EMAIL PROTECTED] wrote: On Wednesday 15 August 2007, Paul Brook wrote: Okay, more explaining. This is the case where I'd want to use the signal: DMA controller (upstream) can reset the slave device (ESP or

[Qemu-devel] Re: Extending qemu_irq for reset signals

2007-08-15 Thread Blue Swirl
Preferably also the callback function type should be QEMUResetHandler, not the slightly different qemu_irq_handler.

Re: [Qemu-devel] Re: Extending qemu_irq for reset signals

2007-08-15 Thread Blue Swirl
On 8/15/07, Paul Brook [EMAIL PROTECTED] wrote: On Wednesday 15 August 2007, Blue Swirl wrote: On 8/15/07, Paul Brook [EMAIL PROTECTED] wrote: On Wednesday 15 August 2007, Paul Brook wrote: Okay, more explaining. This is the case where I'd want to use the signal: DMA controller

Re: [Qemu-devel] Re: Extending qemu_irq for reset signals

2007-08-15 Thread Paul Brook
I implemented reset that way with qemu_irq, the result survives some quick tests. I'd probably make it take notice of the level parameter, and lower the line immediately after raising it. Future implementations of qemu_irq may cache the value internally. Other than that, looks ok, though

[Qemu-devel] RE: [kvm-devel] [PATCH] Dynamic ticks

2007-08-15 Thread Dor Laor
I like it ;) I have some comments (and a reworked patch at the end): And thanks a lot for that. Plus, in this way you change the behaviour from always try RTC under Linux to don't use RTC is dynticks is enabled. Is this what you really want? I don't know whether this is what should be

[Qemu-devel] Making qemu images executable (and store command line arguments in them =P)

2007-08-15 Thread Jorge Lucángeli Obes
I've been giving some thought to Anthony's idea: http://kvm.qumranet.com/kvmwiki/Specs/StoringCommandLineInImage However, maybe I'm just too much on vacations, but I don't seem to come up with a nice way of doing this. Everything keeps coming back to creating a new 'container' image format and

Re: [Qemu-devel] Making qemu images executable (and store command line arguments in them =P)

2007-08-15 Thread Mark Williamson
I've been giving some thought to Anthony's idea: http://kvm.qumranet.com/kvmwiki/Specs/StoringCommandLineInImage However, maybe I'm just too much on vacations, but I don't seem to come up with a nice way of doing this. Everything keeps coming back to creating a new 'container' image format

[Qemu-devel] [PATCH] Make ping work for -net user

2007-08-15 Thread jbrown105
This is a very simple proof-of-concept patch that fakes ICMP well enough for ping to work. Basically, when the slirp code gets a ping request for an ip outside of the slirp network, it runs /bin/ping and reports the results back to the guest accordingly. Right now it uses vfork() and then exec()

[Qemu-devel] Re: [kvm-devel] Making qemu images executable (and store command line arguments in them =P)

2007-08-15 Thread H. Peter Anvin
Jorge Lucángeli Obes wrote: The '#!' trick works nice with scripts, but I don't see it playing very well with images. ¿Comments? ¿Pointers? Well, you can make it work with a header (you just have to pad it out to a fixed length or use a variable-offset format), but binfmt_misc might be a

[Qemu-devel] Using OHCI to replace UHCI can improve the USB performance dramatically under windows

2007-08-15 Thread Steven Hu
Hello, all Is there anyone interested in the performance of USB under QEMU? I found that when use OHCI to replace UHCI in qemu, it will improve the performance of USB storage device. I have tested it, the performance is almost equal of a real usb device. The way to do this is making little change

Re: [kvm-devel] [Qemu-devel] Making qemu images executable (and store command line arguments in them =P)

2007-08-15 Thread Avi Kivity
Mark Williamson wrote: I've been giving some thought to Anthony's idea: http://kvm.qumranet.com/kvmwiki/Specs/StoringCommandLineInImage However, maybe I'm just too much on vacations, but I don't seem to come up with a nice way of doing this. Everything keeps coming back to creating a new

Re: [Qemu-devel] Re: [kvm-devel] Making qemu images executable (and store command line arguments in them =P)

2007-08-15 Thread Avi Kivity
H. Peter Anvin wrote: Jorge Lucángeli Obes wrote: The '#!' trick works nice with scripts, but I don't see it playing very well with images. ¿Comments? ¿Pointers? Well, you can make it work with a header (you just have to pad it out to a fixed length or use a variable-offset