Re: [Qemu-devel] virtio block device and sysfs

2010-03-09 Thread Marc Haber
Hi, thanks for your answer. On Mon, Mar 08, 2010 at 05:17:03PM -0800, jvrao wrote: > Marc Haber wrote: > > I am looking to get in touch with somebody who knows more about the > > connection between host configuration, qemu, kvm, and the virtio block > > device driver guest side than I know. > >

Re: [Qemu-devel] Summer of Code 2010

2010-03-09 Thread Johannes Schindelin
Hi, On Mon, 8 Mar 2010, Luiz Capitulino wrote: > Google has this wonderful program called Summer of Code, in which open > source projects like ours, suggest possible projects and provide mentors > to help selected students to do them. > > It's a great opportunity for students to get in touch

Re: [Qemu-devel] Re: bs->enable_write_cache and the guest ABI

2010-03-09 Thread Avi Kivity
On 03/09/2010 01:00 AM, Jamie Lokier wrote: Avi Kivity wrote: I think we have to go with a qdev property as Christoph suggests. Then it becomes the management's responsibility to set it right. How can the management be expected to know or follow dynamically changing guest state? The

Re: [Qemu-devel] [PATCH] use absolute URLs for .gitmodules

2010-03-09 Thread Anthony Liguori
On 03/05/2010 02:08 AM, Paolo Bonzini wrote: The relative URLs do not work when cloning a fork of qemu or when cloning from the Savannah URL. Signed-off-by: Paolo Bonzini Signed-off-by: Paolo Bonzini --- .gitmodules |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/

Re: [Qemu-devel] Latest CVS build of qemu-system-ppc not boot debian_lenny_powerpc_small.qcow

2010-03-09 Thread Aurelien Jarno
On Tue, Mar 09, 2010 at 11:53:54AM +0530, Amit Shah wrote: > On (Mon) Mar 08 2010 [12:38:37], Aurelien Jarno wrote: > > On Sun, Mar 07, 2010 at 11:07:40AM +0800, tielian wrote: > > > qemu-system-ppc -hda debian_lenny_powerpc_small.qcow > > > qemu: fatal: Trying to execute code outside RAM or ROM a

Re: [Qemu-devel] [PATCH RFC] net: add a flag to disable mac/vlan filtering

2010-03-09 Thread Anthony Liguori
On 03/09/2010 07:15 AM, Michael S. Tsirkin wrote: New bridge in linux 2.6.34 adds IGMP snooping support, after which bridge should not normally flood any packets. While we still need mac table to arm forwarding tables after migration, we can thus ignore it for rx datapath. For vlan, it's possibl

[Qemu-devel] Re: virtio: Add memory statistics reporting to the balloon driver (V8)

2010-03-09 Thread Adam Litke
On Tue, 2010-03-09 at 11:22 -0300, Luiz Capitulino wrote: > On Tue, 09 Mar 2010 14:51:31 +0100 > Juan Quintela wrote: > > > Any recompilation/etc would break migration. I have tried to understand > > what happened with monitor async commands, and my head exploded in > > indirections. > > The M

Re: [Qemu-devel] [PATCH] QMP: Introduce RTC_CHANGE event

2010-03-09 Thread Luiz Capitulino
On Tue, 09 Mar 2010 08:20:09 -0600 Anthony Liguori wrote: > On 02/25/2010 09:11 AM, Luiz Capitulino wrote: > > Emitted whenever the RTC time changes. > > > > Signed-off-by: Luiz Capitulino > > > > Not that this change isn't acceptable, but I think we need to improve > how we handle these ev

Re: [Qemu-devel] Summer of Code 2010

2010-03-09 Thread Stefan Hajnoczi
On Tue, Mar 9, 2010 at 9:31 AM, Johannes Schindelin wrote: > Note that some students do not finish up their work, do not get properly > involved with the project, get the pay check, and then go somewhere else. > The time of the mentor is quite possibly just wasted in such a case. Quite > frustrati

[Qemu-devel] Re: [PATCH] Inter-VM shared memory PCI device

2010-03-09 Thread Avi Kivity
On 03/09/2010 02:49 PM, Arnd Bergmann wrote: On Monday 08 March 2010, Cam Macdonell wrote: enum ivshmem_registers { IntrMask = 0, IntrStatus = 2, Doorbell = 4, IVPosition = 6, IVLiveList = 8 }; The first two registers are the interrupt mask and status registers. Int

Re: [Qemu-devel] KVM call agenda for Mar 9

2010-03-09 Thread Luiz Capitulino
On Mon, 8 Mar 2010 22:29:55 -0800 Chris Wright wrote: > - virtio-9p passthrough filesystem support > - modular command line helpers > > Please send in any additional agenda items you are interested in covering. - Summer of code 2010 (do we want to join?) - Status of Anthony's patch queue

Re: [Qemu-devel] [PATCH 1/5] block: Emit BLOCK_IO_ERROR before vm_stop() call

2010-03-09 Thread Anthony Liguori
On 02/25/2010 09:06 AM, Luiz Capitulino wrote: The next commit will move the STOP event into do_vm_stop(), to have the expected event sequence we need to emit the I/O error event before calling vm_stop(). The expected sequence is: { "event": "BLOCK_IO_ERROR" [...] } { "event": "STOP" } Signed-

[Qemu-devel] Re: [PATCH] Inter-VM shared memory PCI device

2010-03-09 Thread Arnd Bergmann
On Monday 08 March 2010, Cam Macdonell wrote: > enum ivshmem_registers { > IntrMask = 0, > IntrStatus = 2, > Doorbell = 4, > IVPosition = 6, > IVLiveList = 8 > }; > > The first two registers are the interrupt mask and status registers. > Interrupts are triggered when a message

Re: [Qemu-devel] [PATCH] QMP: Introduce WATCHDOG event

2010-03-09 Thread Anthony Liguori
On 02/25/2010 09:13 AM, Luiz Capitulino wrote: It's emitted whenever the watchdog device's timer expires. The action taken is provided in the 'data' member. Signed-off-by: Luiz Capitulino Applied. Thanks. Regards, Anthony Liguori --- QMP/qmp-events.txt | 19 +++

Re: [Qemu-devel] [PATCH 1/2] qdev: Add a DEV_NVECTORS_UNSPECIFIED enum for unspecified nr of MSI vectors

2010-03-09 Thread Anthony Liguori
On 02/25/2010 05:54 AM, Amit Shah wrote: net.c used a constant to signify no MSI vectors were specified. Extend that to all qdev devices. Signed-off-by: Amit Shah Reported-by: "Michael S. Tsirkin" Applied. Thanks. Regards, Anthony Liguori --- hw/qdev.c |2 +- hw/qdev.h |4 ++

[Qemu-devel] Re: virtio: Add memory statistics reporting to the balloon driver (V8)

2010-03-09 Thread Luiz Capitulino
On Tue, 09 Mar 2010 14:51:31 +0100 Juan Quintela wrote: > Any recompilation/etc would break migration. I have tried to understand > what happened with monitor async commands, and my head exploded in > indirections. The Monitor needs lots of cleanups to make things more obvious. > Is there any

[Qemu-devel] virtio-serial NULL deference

2010-03-09 Thread Juan Quintela
Hi Amit Checking migration, I just found this problem: I don't know what to put there. a return -EINVAL or continue? Looking more at the code, I am not sure what checks: a- that bus->max_nr_ports is the same in both sides (or at least bigger on migration destination) b- We sent the value of

Re: [Qemu-devel] [PATCH] Restore terminal attributes for tty based monitor

2010-03-09 Thread Anthony Liguori
On 02/26/2010 03:34 AM, Shahar Havivi wrote: Patch http://permalink.gmane.org/gmane.comp.emulators.qemu/63472 handle close when using tty devices (like /dev/ttyS0), yet tty based monitor are not restoring terminal attributes (as done with stdio based monitor), when closing qemu after that command

[Qemu-devel] Re: [PATCH 2/4] KVM: Rework VCPU state writeback API

2010-03-09 Thread Anthony Liguori
On 03/08/2010 02:33 PM, Marcelo Tosatti wrote: On Fri, Mar 05, 2010 at 09:37:26PM -0500, Kevin O'Connor wrote: On Thu, Mar 04, 2010 at 03:35:52PM -0300, Marcelo Tosatti wrote: On Thu, Mar 04, 2010 at 12:58:58AM -0500, Kevin O'Connor wrote: On Thu, Mar 04, 2010 at 01:21:12AM -

[Qemu-devel] Re: virtio: Add memory statistics reporting to the balloon driver (V8)

2010-03-09 Thread Juan Quintela
Adam Litke wrote: > The changes in V8 of this patch are related to the monitor infrastructure. No > changes to the virtio interface core have been made since V4. This is > intended > to apply on top of my API for asynchronous monitor commands patch. I know that I am late reviewing this. Once

Re: [Qemu-devel] [PATCH] QMP: Introduce RTC_CHANGE event

2010-03-09 Thread Anthony Liguori
On 02/25/2010 09:11 AM, Luiz Capitulino wrote: Emitted whenever the RTC time changes. Signed-off-by: Luiz Capitulino Applied. Thanks. Regards, Anthony Liguori --- QMP/qmp-events.txt | 15 +++ hw/mc146818rtc.c |2 ++ monitor.c |3 +++ monitor.h

Re: [Qemu-devel] Re: Need a way disable gPXE boot

2010-03-09 Thread Richard W.M. Jones
On Wed, Nov 18, 2009 at 09:19:53PM +0100, Sebastian Herbszt wrote: > Theodore Ts'o wrote: > > [snip] > >> I was ultimately able to work around the solution by deleting the >> /usr/local/share/qemu/pxe-*.bin files, but that's a bit of a botch. It >> would be nice if there was a way to disable the g

Re: [Qemu-devel] [PATCH] QMP: Introduce RTC_CHANGE event

2010-03-09 Thread Anthony Liguori
On 02/25/2010 09:11 AM, Luiz Capitulino wrote: Emitted whenever the RTC time changes. Signed-off-by: Luiz Capitulino Not that this change isn't acceptable, but I think we need to improve how we handle these events in the future. --- QMP/qmp-events.txt | 15 +++ hw/mc14

Re: [Qemu-devel] [PATCH] adding helper pci functions

2010-03-09 Thread Anthony Liguori
On 02/25/2010 02:41 AM, Gerd Hoffmann wrote: From: Izik Eidus Signed-off-by: Izik Eidus Signed-off-by: Gerd Hoffmann Applied. Thanks. Regards, Anthony Liguori --- hw/pci.h | 18 ++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/hw/pci.h b/hw/pci.h

Re: [Qemu-devel] Summer of Code 2010

2010-03-09 Thread Johannes Schindelin
Hi, On Tue, 9 Mar 2010, Luiz Capitulino wrote: > On Tue, 9 Mar 2010 10:31:23 +0100 (CET) > Johannes Schindelin wrote: > > > On Mon, 8 Mar 2010, Luiz Capitulino wrote: > > > > > Google has this wonderful program called Summer of Code, in which open > > > source projects like ours, suggest pos

Re: [Qemu-devel] [PATCH v2 1/2] qdev: Improve diagnostics for bad property values

2010-03-09 Thread Anthony Liguori
On 02/26/2010 08:50 AM, Markus Armbruster wrote: Property "vlan" reports "failed to parse" even when the value parses just fine, but the result doesn't name an existing VLAN. Similarly, properties "drive", "chr" and "netdev" misleadingly report "failed to parse" when the value doesn't name an ex

Re: [Qemu-devel] [PATCH v2 1/4] kbd leds: infrastructure

2010-03-09 Thread Anthony Liguori
On 02/26/2010 10:17 AM, Gerd Hoffmann wrote: Adds infrastructure for keyboard led status tracking to qemu. Signed-off-by: Gerd Hoffmann Applied. Thanks. Regards, Anthony Liguori --- console.h | 15 +++ input.c | 31 +++ 2 files changed,

Re: [Qemu-devel] [PATCH] Serial: DOS Plus regression

2010-03-09 Thread Anthony Liguori
On 02/28/2010 02:03 AM, Roy Tam wrote: The commit in r1049 (serial interrupt fix (Hampa Hug)) prevents booting Digital Research DOSPlus. Following patch partially reverts that commit and makes DOSPlus booting in QEMU again. Sign-off-by: Roy Tam -- diff --git a/hw/serial.c b/hw/serial.c index d

[Qemu-devel] Re: virtio: Add memory statistics reporting to the balloon driver (V8)

2010-03-09 Thread Luiz Capitulino
On Tue, 09 Mar 2010 08:48:43 -0600 Adam Litke wrote: > On Tue, 2010-03-09 at 11:22 -0300, Luiz Capitulino wrote: > > On Tue, 09 Mar 2010 14:51:31 +0100 > > Juan Quintela wrote: > > > > > Any recompilation/etc would break migration. I have tried to understand > > > what happened with monitor as

Re: [Qemu-devel] [PATCH RFC] net: add a flag to disable mac/vlan filtering

2010-03-09 Thread Alex Williamson
On Tue, 2010-03-09 at 08:43 -0600, Anthony Liguori wrote: > On 03/09/2010 07:15 AM, Michael S. Tsirkin wrote: > > New bridge in linux 2.6.34 adds IGMP snooping support, > > after which bridge should not normally flood any packets. > > While we still need mac table to arm forwarding tables > > after

Re: [Qemu-devel] [PATCH RFC] net: add a flag to disable mac/vlan filtering

2010-03-09 Thread Michael S. Tsirkin
On Tue, Mar 09, 2010 at 08:43:12AM -0600, Anthony Liguori wrote: > On 03/09/2010 07:15 AM, Michael S. Tsirkin wrote: >> New bridge in linux 2.6.34 adds IGMP snooping support, >> after which bridge should not normally flood any packets. >> While we still need mac table to arm forwarding tables >> af

Re: [Qemu-devel] [PATCH 04/17] virtio-9p: Implement P9_TSTAT

2010-03-09 Thread Paul Brook
> Is there any reason (other than being coding style) in using qemu_free() > instead of free()? As per qem-malloc.c qemu_free() is nothing but free(). The whole point of qemu_{malloc,free} is to isolate code from the system implementation of malloc/free. It's entirely possible that future versio

Re: [Qemu-devel] Summer of Code 2010

2010-03-09 Thread Anthony Liguori
On 03/08/2010 02:20 PM, Luiz Capitulino wrote: Hi there, Google has this wonderful program called Summer of Code, in which open source projects like ours, suggest possible projects and provide mentors to help selected students to do them. It's a great opportunity for students to get in to

Re: [Qemu-devel] [PATCH] scsi: Make device scsi-disk reject /dev/sg*

2010-03-09 Thread Anthony Liguori
On 02/25/2010 04:23 AM, Markus Armbruster wrote: You're supposed to use scsi-generic for that. Which rejects anything but /dev/sg*. Signed-off-by: Markus Armbruster --- Applied. Thanks. Regards, Anthony Liguori hw/scsi-disk.c |5 + 1 files changed, 5 insertions(+), 0 delet

[Qemu-devel] Re: [PATCH RFC] net: add a flag to disable mac/vlan filtering

2010-03-09 Thread Alex Williamson
On Tue, 2010-03-09 at 15:15 +0200, Michael S. Tsirkin wrote: > diff --git a/hw/virtio-net.c b/hw/virtio-net.c > index 5c0093e..01b45ed 100644 > --- a/hw/virtio-net.c > +++ b/hw/virtio-net.c > @@ -47,6 +47,7 @@ typedef struct VirtIONet > uint8_t nomulti; > uint8_t nouni; > uint8_t nob

Re: [Qemu-devel] [PATCH] pcnet APROMWE bit location (retry)

2010-03-09 Thread Anthony Liguori
On 02/24/2010 12:32 AM, Chris Kilgour wrote: According to AMD document 21485D pp.141, APROMWE is bit 8 of BCR2. Signed-off-by: Christopher Kilgour Applied. Thanks. Regards, Anthony Liguori --- diff --git a/hw/pcnet.c b/hw/pcnet.c index 44b5b31..f889898 100644 --- a/hw/pcnet.c +++ b/hw/

Re: [Qemu-devel] [PATCH] adding helper pci functions

2010-03-09 Thread Anthony Liguori
On 02/25/2010 02:41 AM, Gerd Hoffmann wrote: From: Izik Eidus Signed-off-by: Izik Eidus Signed-off-by: Gerd Hoffmann Applied. Thanks. Regards, Anthony Liguori --- hw/pci.h | 18 ++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/hw/pci.h b/hw/pci.h

[Qemu-devel] Re: [PATCH] Inter-VM shared memory PCI device

2010-03-09 Thread Avi Kivity
On 03/08/2010 07:57 PM, Cam Macdonell wrote: Can you provide a spec that describes the device? This would be useful for maintaining the code, writing guest drivers, and as a framework for review. I'm not sure if you want the Qemu command-line part as part of the spec here, but I've incl

[Qemu-devel] [PATCH] Inter-VM shared memory PCI device

2010-03-09 Thread Cam Macdonell
On Tue, Mar 9, 2010 at 3:29 AM, Avi Kivity wrote: > On 03/08/2010 07:57 PM, Cam Macdonell wrote: >> >>> Can you provide a spec that describes the device?  This would be useful >>> for >>> maintaining the code, writing guest drivers, and as a framework for >>> review. >>> >> >> I'm not sure if you

Re: [Qemu-devel] Summer of Code 2010

2010-03-09 Thread Luiz Capitulino
On Mon, 8 Mar 2010 23:53:19 +0100 Alexander Graf wrote: > > On 08.03.2010, at 21:20, Luiz Capitulino wrote: > > > > > Hi there, > > > > Google has this wonderful program called Summer of Code, in which open > > source > > projects like ours, suggest possible projects and provide mentors to h

[Qemu-devel] Re: virtio-serial NULL deference

2010-03-09 Thread Amit Shah
On (Tue) Mar 09 2010 [14:15:45], Juan Quintela wrote: > > Hi Amit Hey Juan, > Checking migration, I just found this problem: > > I don't know what to put there. a return -EINVAL or continue? > Looking more at the code, I am not sure what checks: > > a- that bus->max_nr_ports is the same in bo

Re: [Qemu-devel] Summer of Code 2010

2010-03-09 Thread Luiz Capitulino
On Tue, 9 Mar 2010 10:31:23 +0100 (CET) Johannes Schindelin wrote: > Hi, > > On Mon, 8 Mar 2010, Luiz Capitulino wrote: > > > Google has this wonderful program called Summer of Code, in which open > > source projects like ours, suggest possible projects and provide mentors > > to help select

[Qemu-devel] Re: [PATCH RFC] net: add a flag to disable mac/vlan filtering

2010-03-09 Thread Michael S. Tsirkin
On Tue, Mar 09, 2010 at 08:19:12AM -0700, Alex Williamson wrote: > On Tue, 2010-03-09 at 15:15 +0200, Michael S. Tsirkin wrote: > > diff --git a/hw/virtio-net.c b/hw/virtio-net.c > > index 5c0093e..01b45ed 100644 > > --- a/hw/virtio-net.c > > +++ b/hw/virtio-net.c > > @@ -47,6 +47,7 @@ typedef stru

Re: [Qemu-devel] KVM call agenda for Mar 9

2010-03-09 Thread Anthony Liguori
On 03/09/2010 07:44 AM, Luiz Capitulino wrote: On Mon, 8 Mar 2010 22:29:55 -0800 Chris Wright wrote: - virtio-9p passthrough filesystem support - modular command line helpers Please send in any additional agenda items you are interested in covering. - Summer of code 2010 (do we wan

[Qemu-devel] [PATCH RFC] net: add a flag to disable mac/vlan filtering

2010-03-09 Thread Michael S. Tsirkin
New bridge in linux 2.6.34 adds IGMP snooping support, after which bridge should not normally flood any packets. While we still need mac table to arm forwarding tables after migration, we can thus ignore it for rx datapath. For vlan, it's possible to do filtering down the stack simply by using bri

Re: [Qemu-devel] [PATCH v2 1/2] qdev: Improve diagnostics for bad property values

2010-03-09 Thread Anthony Liguori
On 02/26/2010 08:50 AM, Markus Armbruster wrote: Property "vlan" reports "failed to parse" even when the value parses just fine, but the result doesn't name an existing VLAN. Similarly, properties "drive", "chr" and "netdev" misleadingly report "failed to parse" when the value doesn't name an ex

Re: [Qemu-devel] [PATCH] Serial: DOS Plus regression

2010-03-09 Thread Roy Tam
2010/3/9 Anthony Liguori > > On 02/28/2010 02:03 AM, Roy Tam wrote: >> >> The commit in r1049 (serial interrupt fix (Hampa Hug)) prevents >> booting Digital Research DOSPlus. Following patch partially reverts >> that commit and makes DOSPlus booting in QEMU again. >> >> Sign-off-by: Roy Tam >> >>

Re: [Qemu-devel] Regression: more 0.12 regression (SeaBIOS related?)

2010-03-09 Thread Natalia Portillo
*NeXTStep/OpenStep bootloader hangs (Darwin not tested but may be also). *ScanDisk does not receive keypresses (any at all). *Windows Me's DOS Microsoft Mouse driver hangs the machine. *PS/2 mouse not working under Windows Me installation. *Windows Me blue screens after installation. A good couple

Re: [Qemu-devel] [PATCH] move x509 file name defines to qemu-x509.h

2010-03-09 Thread Anthony Liguori
On 02/25/2010 02:41 AM, Gerd Hoffmann wrote: Want share them with vnc and spice. Signed-off-by: Gerd Hoffmann Applied. Thanks. Regards, Anthony Liguori --- qemu-x509.h |9 + vnc-tls.c |7 +-- 2 files changed, 10 insertions(+), 6 deletions(-) create mode 1006

Re: [Qemu-devel] Summer of Code 2010

2010-03-09 Thread Natalia Portillo
Nice :-). I'd love to mentor. We have a lot of open things to do in the PPC space, but I could just as well use help with finally getting x86 Mac OS X guest support upstream ;-). So who's sending out the actual project application? I'd feel odd if I'd do it. I hope that with native EFI

Re: [Qemu-devel] Summer of Code 2010

2010-03-09 Thread Alexander Graf
On 09.03.2010, at 16:44, Natalia Portillo wrote: >> >> Nice :-). I'd love to mentor. We have a lot of open things to do in the PPC >> space, but I could just as well use help with finally getting x86 Mac OS X >> guest support upstream ;-). >> >> So who's sending out the actual project applica

Re: [Qemu-devel] Summer of Code 2010

2010-03-09 Thread Natalia Portillo
"Qemu towards what xnu expects" --> that's what I called "Mac's memory space". Of course is not only memory, the SMU, TPM module, anything it will search for without hacking. (If you need testing comment me I have every x86 versions that is outside of Apple and nVidia, and hardware access

[Qemu-devel] Re: [PATCH RFC] net: add a flag to disable mac/vlan filtering

2010-03-09 Thread Michael S. Tsirkin
On Tue, Mar 09, 2010 at 05:30:31PM +0200, Michael S. Tsirkin wrote: > On Tue, Mar 09, 2010 at 08:19:12AM -0700, Alex Williamson wrote: > > On Tue, 2010-03-09 at 15:15 +0200, Michael S. Tsirkin wrote: > > > diff --git a/hw/virtio-net.c b/hw/virtio-net.c > > > index 5c0093e..01b45ed 100644 > > > ---

Re: [Qemu-devel] [PATCH RFC] net: add a flag to disable mac/vlan filtering

2010-03-09 Thread Paul Brook
> > Can't this be achieved by just disabling the feature bits? IOW, > > > > ctrl_vq=0,ctrl_vlan=0? > > Michael still wants the guest to populate the MAC filter table so that > we can use it to announce MACs on the bridge, especially after a > migration. We don't do that to start with. We only s

Re: [Qemu-devel] Summer of Code 2010

2010-03-09 Thread Alexander Graf
On 09.03.2010, at 16:50, Natalia Portillo wrote: > "Qemu towards what xnu expects" --> that's what I called "Mac's memory space". > > Of course is not only memory, the SMU, TPM module, anything it will search > for without hacking. > > (If you need testing comment me I have every x86 versions

Re: [Qemu-devel] [PATCH v2 1/4] kbd leds: infrastructure

2010-03-09 Thread Paul Brook
> On 02/26/2010 10:17 AM, Gerd Hoffmann wrote: > > Adds infrastructure for keyboard led status tracking to qemu. > > > > Signed-off-by: Gerd Hoffmann > > Applied. Thanks. What about guests that use the capslock LED for something useful, instead of capslock? Paul

Re: [Qemu-devel] Summer of Code 2010

2010-03-09 Thread Natalia Portillo
http://wiki.qemu.org/Google_Summer_of_Code_2010 This is a start. El 09/03/2010, a las 14:14, Anthony Liguori escribió: On 03/08/2010 02:20 PM, Luiz Capitulino wrote: Hi there, Google has this wonderful program called Summer of Code, in which open source projects like ours, suggest possib

Re: [Qemu-devel] [PATCH 04/17] virtio-9p: Implement P9_TSTAT

2010-03-09 Thread jvrao
Paul Brook wrote: >> Is there any reason (other than being coding style) in using qemu_free() >> instead of free()? As per qem-malloc.c qemu_free() is nothing but free(). > > The whole point of qemu_{malloc,free} is to isolate code from the system > implementation of malloc/free. It's entirely p

Re: [Qemu-devel] Summer of Code 2010

2010-03-09 Thread Natalia Portillo
El 09/03/2010, a las 15:56, Alexander Graf escribió: On 09.03.2010, at 16:50, Natalia Portillo wrote: "Qemu towards what xnu expects" --> that's what I called "Mac's memory space". Of course is not only memory, the SMU, TPM module, anything it will search for without hacking. (If you

[Qemu-devel] [PATCH] vnc: add noledsync option

2010-03-09 Thread Gerd Hoffmann
Add an option to disable syncing capslock/numlock leds state with capslock/numlock keyboard state. Needed for guests which use the keyboard leds for something else. Signed-off-by: Gerd Hoffmann --- vnc.c | 10 -- vnc.h |1 + 2 files changed, 9 insertions(+), 2 deletions(-) diff -

Re: [Qemu-devel] [PATCH v2 1/4] kbd leds: infrastructure

2010-03-09 Thread Anthony Liguori
On 03/09/2010 09:58 AM, Paul Brook wrote: On 02/26/2010 10:17 AM, Gerd Hoffmann wrote: Adds infrastructure for keyboard led status tracking to qemu. Signed-off-by: Gerd Hoffmann Applied. Thanks. What about guests that use the capslock LED for something useful, instead of

Re: [Qemu-devel] Regression: more 0.12 regression (SeaBIOS related?)

2010-03-09 Thread Natalia Portillo
Sorry, rephrasing: These of course do not have anything to do (but the scandisk one) with KEYBOARD, however I marked with * the ones that can be a BIOS conflict. El 09/03/2010, a las 15:41, Natalia Portillo escribió: *NeXTStep/OpenStep bootloader hangs (Darwin not tested but may be also).

[Qemu-devel] Re: [PATCH RFC] net: add a flag to disable mac/vlan filtering

2010-03-09 Thread Alex Williamson
On Tue, 2010-03-09 at 17:30 +0200, Michael S. Tsirkin wrote: > On Tue, Mar 09, 2010 at 08:19:12AM -0700, Alex Williamson wrote: > > On Tue, 2010-03-09 at 15:15 +0200, Michael S. Tsirkin wrote: > > > diff --git a/hw/virtio-net.c b/hw/virtio-net.c > > > index 5c0093e..01b45ed 100644 > > > --- a/hw/vi

Re: [Qemu-devel] [PATCH v2 1/4] kbd leds: infrastructure

2010-03-09 Thread Gerd Hoffmann
On 03/09/10 16:58, Paul Brook wrote: On 02/26/2010 10:17 AM, Gerd Hoffmann wrote: Adds infrastructure for keyboard led status tracking to qemu. Signed-off-by: Gerd Hoffmann Applied. Thanks. What about guests that use the capslock LED for something useful, instead of capslock? I offered w

[Qemu-devel] Re: [PATCH RFC] net: add a flag to disable mac/vlan filtering

2010-03-09 Thread Michael S. Tsirkin
On Tue, Mar 09, 2010 at 09:11:33AM -0700, Alex Williamson wrote: > On Tue, 2010-03-09 at 17:30 +0200, Michael S. Tsirkin wrote: > > On Tue, Mar 09, 2010 at 08:19:12AM -0700, Alex Williamson wrote: > > > On Tue, 2010-03-09 at 15:15 +0200, Michael S. Tsirkin wrote: > > > > diff --git a/hw/virtio-net.

Re: [Qemu-devel] [PATCH v2 1/4] kbd leds: infrastructure

2010-03-09 Thread Anthony Liguori
On 03/09/2010 10:13 AM, Gerd Hoffmann wrote: On 03/09/10 16:58, Paul Brook wrote: On 02/26/2010 10:17 AM, Gerd Hoffmann wrote: Adds infrastructure for keyboard led status tracking to qemu. Signed-off-by: Gerd Hoffmann Applied. Thanks. What about guests that use the capslock LED for someth

Re: [Qemu-devel] [PATCH] use absolute URLs for .gitmodules

2010-03-09 Thread Paolo Bonzini
> > diff --git a/.gitmodules b/.gitmodules > > index dd4745e..5217ce7 100644 > > --- a/.gitmodules > > +++ b/.gitmodules > > @@ -1,6 +1,6 @@ > > [submodule "roms/vgabios"] > > path = roms/vgabios > > - url = ../vgabios.git > > + url = git://git.qemu.org/vgabios.git/ > > [submodule "roms

Re: [Qemu-devel] [PATCH v2 1/4] kbd leds: infrastructure

2010-03-09 Thread Gerd Hoffmann
On 03/09/10 17:28, Anthony Liguori wrote: If a person has a guest that twiddles with LEDs, what are the chances they are going to figure out that there's an option with VNC to not use LED status as part of the modifier tracking heuristics? I don't think it's really useful. Like I said in an earl

[Qemu-devel] Re: [PATCH] Inter-VM shared memory PCI device

2010-03-09 Thread Cam Macdonell
On Tue, Mar 9, 2010 at 6:03 AM, Avi Kivity wrote: > On 03/09/2010 02:49 PM, Arnd Bergmann wrote: >> >> On Monday 08 March 2010, Cam Macdonell wrote: >> >>> >>> enum ivshmem_registers { >>>     IntrMask = 0, >>>     IntrStatus = 2, >>>     Doorbell = 4, >>>     IVPosition = 6, >>>     IVLiveList =

Re: [Qemu-devel] Summer of Code 2010

2010-03-09 Thread Brian Jackson
On Tuesday 09 March 2010 09:55:39 am Natalia Portillo wrote: > http://wiki.qemu.org/Google_Summer_of_Code_2010 I added a section for possible mentors and added myself to it. > > This is a start. > > El 09/03/2010, a las 14:14, Anthony Liguori escribió: > > On 03/08/2010 02:20 PM, Luiz Capitul

Re: [Qemu-devel] Summer of Code 2010

2010-03-09 Thread malc
On Tue, 9 Mar 2010, Alexander Graf wrote: > > On 09.03.2010, at 16:50, Natalia Portillo wrote: > > > "Qemu towards what xnu expects" --> that's what I called "Mac's memory > > space". > > > > Of course is not only memory, the SMU, TPM module, anything it will search > > for without hacking. >

Re: [Qemu-devel] Summer of Code 2010

2010-03-09 Thread Alexander Graf
On 09.03.2010, at 17:48, malc wrote: > On Tue, 9 Mar 2010, Alexander Graf wrote: > >> >> On 09.03.2010, at 16:50, Natalia Portillo wrote: >> >>> "Qemu towards what xnu expects" --> that's what I called "Mac's memory >>> space". >>> >>> Of course is not only memory, the SMU, TPM module, anyth

[Qemu-devel] Re: [PATCH RFC] net: add a flag to disable mac/vlan filtering

2010-03-09 Thread Alex Williamson
On Tue, 2010-03-09 at 18:18 +0200, Michael S. Tsirkin wrote: > On Tue, Mar 09, 2010 at 09:11:33AM -0700, Alex Williamson wrote: > > On Tue, 2010-03-09 at 17:30 +0200, Michael S. Tsirkin wrote: > > > On Tue, Mar 09, 2010 at 08:19:12AM -0700, Alex Williamson wrote: > > > > A filtering flags bitmap is

Re: [Qemu-devel] [PATCH] use absolute URLs for .gitmodules

2010-03-09 Thread Anthony Liguori
On 03/09/2010 10:38 AM, Paolo Bonzini wrote: diff --git a/.gitmodules b/.gitmodules index dd4745e..5217ce7 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,6 +1,6 @@ [submodule "roms/vgabios"] path = roms/vgabios - url = ../vgabios.git + url = git://git.qemu.org/vgabios.git

Re: [Qemu-devel] [PATCH v2 1/4] kbd leds: infrastructure

2010-03-09 Thread Anthony Liguori
On 03/09/2010 10:41 AM, Gerd Hoffmann wrote: On 03/09/10 17:28, Anthony Liguori wrote: If a person has a guest that twiddles with LEDs, what are the chances they are going to figure out that there's an option with VNC to not use LED status as part of the modifier tracking heuristics? I don't th

Re: [Qemu-devel] [PATCH] configure: Fix wrong stderr redirection

2010-03-09 Thread Anthony Liguori
On 03/01/2010 03:10 PM, Stefan Weil wrote: Signed-off-by: Stefan Weil Applied. Thanks. Regards, Anthony Liguori --- configure |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index dfe3e42..a14aba7 100755 --- a/configure +++ b/configu

Re: [Qemu-devel] [PATCH] configure: Fix code which creates config.mak files

2010-03-09 Thread Anthony Liguori
On 03/01/2010 03:20 PM, Stefan Weil wrote: These files are created by configure and grow unnecessarily at each new call of configure: roms/seabios/config.mak roms/vgabios/config.mak libhw32/config.mak libhw64/config.mak libhw32/config.mak and libhw64/config.mak set compiler options, and the wro

Re: [Qemu-devel] [PATCH] qemu-img rebase: Add -f option

2010-03-09 Thread Anthony Liguori
On 03/02/2010 05:14 AM, Kevin Wolf wrote: Allow the user to specify the format of the image to rebase. Signed-off-by: Kevin Wolf Applied. Thanks. Regards, Anthony Liguori --- qemu-img.c | 20 1 files changed, 16 insertions(+), 4 deletions(-) diff --git a/qemu

[Qemu-devel] [PATCH] QEMU-KVM missing bits for E820 handling.

2010-03-09 Thread Jes Sorensen
Hi, This is the last piece needed for QEMU-KVM to match the changes that went into upstream QEMU. Cheers, Jes Use qemu-cfg to provide the BIOS with an optional table of e820 entries. The missing bits for qemu-kvm.git to match what qemu does. Signed-off-by: Jes Sorensen --- qemu-kvm-x86.c |

[Qemu-devel] Re: [PATCH] Inter-VM shared memory PCI device

2010-03-09 Thread Avi Kivity
On 03/09/2010 05:27 PM, Cam Macdonell wrote: Registers are used for synchronization between guests sharing the same memory object when interrupts are supported (this requires using the shared memory server). How does the driver detect whether interrupts are supported or not?

Re: [Qemu-devel] [PATCH] use absolute URLs for .gitmodules

2010-03-09 Thread Avi Kivity
On 03/09/2010 07:08 PM, Anthony Liguori wrote: On 03/09/2010 10:38 AM, Paolo Bonzini wrote: diff --git a/.gitmodules b/.gitmodules index dd4745e..5217ce7 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,6 +1,6 @@ [submodule "roms/vgabios"] path = roms/vgabios -url = ../vgabios.git

[Qemu-devel] Re: [PATCH] Inter-VM shared memory PCI device

2010-03-09 Thread Anthony Liguori
On 03/09/2010 11:28 AM, Avi Kivity wrote: On 03/09/2010 05:27 PM, Cam Macdonell wrote: Registers are used for synchronization between guests sharing the same memory object when interrupts are supported (this requires using the shared memory server). How does the driver detect whether i

Re: [Qemu-devel] [PATCH 01/10] cow: return errno instead of -1

2010-03-09 Thread Anthony Liguori
On 03/04/2010 03:00 AM, Juan Quintela wrote: Remove not needed ret = 0 assignment. Signed-off-by: Juan Quintela Applied all. Thanks. Regards, Anthony Liguori --- block/cow.c |5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/block/cow.c b/block/cow.c index

Re: [Qemu-devel] [PATCH] EHCI support - device recognized, but no data

2010-03-09 Thread David S. Ahern
On 03/07/2010 04:32 AM, Jan Kiszka wrote: > Kevin Wolf wrote: >> Am Freitag, 5. März 2010 04:17 schrieb David S. Ahern: >>> Jan: >>> >>> I spent some more time on the EHCI support today. With the attached >>> patch (delta to the patch from yesterday) a USB key is recognized within >>> the guest

[Qemu-devel] Re: Summer of Code 2010

2010-03-09 Thread Paolo Bonzini
On 03/09/2010 05:01 PM, Natalia Portillo wrote: Documenting QEMU's hardware model may be also a good idea for GSoC2010, as most complains about contributing QEMU are precisely that, having to study the whole code to know how to make anything new. Unfortunately, documentation-only projects are o

[Qemu-devel] Re: [PATCH] Inter-VM shared memory PCI device

2010-03-09 Thread Cam Macdonell
On Tue, Mar 9, 2010 at 10:28 AM, Avi Kivity wrote: > On 03/09/2010 05:27 PM, Cam Macdonell wrote: >> >>>  Registers are used for synchronization between guests sharing the same memory object when interrupts are supported (this requires using the shared memory server). >>>

Re: [Qemu-devel] Re: Summer of Code 2010

2010-03-09 Thread Johannes Schindelin
Hi, On Tue, 9 Mar 2010, Paolo Bonzini wrote: > On 03/09/2010 05:01 PM, Natalia Portillo wrote: > > Documenting QEMU's hardware model may be also a good idea for GSoC2010, > > as most complains about contributing QEMU are precisely that, having to > > study the whole code to know how to make anyth

Re: [Qemu-devel] Summer of Code 2010

2010-03-09 Thread Jamie Lokier
Johannes Schindelin wrote: > Hi, > > On Tue, 9 Mar 2010, Luiz Capitulino wrote: > > > On Tue, 9 Mar 2010 10:31:23 +0100 (CET) > > Johannes Schindelin wrote: > > > > > On Mon, 8 Mar 2010, Luiz Capitulino wrote: > > > > > > > Google has this wonderful program called Summer of Code, in which ope

[Qemu-devel] [PATCH] balloon: Do not save VM state wrt asynchronous virtio operations

2010-03-09 Thread Adam Litke
When working with the VM state (for loadvm/savevm and migration), it is not valid to load and store pointers since the validity of those pointers cannot be assured in the new qemu address space. Therefore, virtio_balloon_save() and virtio_balloon_load() must not handle the stats-related fields in

Re: [Qemu-devel] [PATCH] Inter-VM shared memory PCI device

2010-03-09 Thread Jamie Lokier
Paul Brook wrote: > > However, coherence could be made host-type-independent by the host > > mapping and unampping pages, so that each page is only mapped into one > > guest (or guest CPU) at a time. Just like some clustering filesystems > > do to maintain coherence. > > You're assuming that a TL

Re: [Qemu-devel] Re: bs->enable_write_cache and the guest ABI

2010-03-09 Thread Jamie Lokier
Avi Kivity wrote: > On 03/09/2010 01:00 AM, Jamie Lokier wrote: > >Avi Kivity wrote: > > > >>I think we have to go with a qdev property as Christoph suggests. Then > >>it becomes the management's responsibility to set it right. > >> > >How can the management be expected to know or follow d

[Qemu-devel] Re: [PATCH] balloon: Do not save VM state wrt asynchronous virtio operations

2010-03-09 Thread Juan Quintela
Adam Litke wrote: > When working with the VM state (for loadvm/savevm and migration), it is not > valid to load and store pointers since the validity of those pointers cannot > be > assured in the new qemu address space. Therefore, virtio_balloon_save() and > virtio_balloon_load() must not handl

Re: [Qemu-devel] virtio block device and sysfs

2010-03-09 Thread jvrao
Marc Haber wrote: > Hi, > > thanks for your answer. > > On Mon, Mar 08, 2010 at 05:17:03PM -0800, jvrao wrote: >> Marc Haber wrote: >>> I am looking to get in touch with somebody who knows more about the >>> connection between host configuration, qemu, kvm, and the virtio block >>> device driver

Re: [Qemu-devel] virtio block device and sysfs

2010-03-09 Thread jvrao
jvrao wrote: > Marc Haber wrote: >> Hi, >> >> thanks for your answer. >> >> On Mon, Mar 08, 2010 at 05:17:03PM -0800, jvrao wrote: >>> Marc Haber wrote: I am looking to get in touch with somebody who knows more about the connection between host configuration, qemu, kvm, and the virtio blo

Re: [Qemu-devel] [PATCH] Inter-VM shared memory PCI device

2010-03-09 Thread Jamie Lokier
Avi Kivity wrote: > On 03/08/2010 03:03 PM, Paul Brook wrote: > >>On 03/08/2010 12:53 AM, Paul Brook wrote: > >> > Support an inter-vm shared memory device that maps a shared-memory > object as a PCI device in the guest. This patch also supports > interrupts between guest by commu

Re: [Qemu-devel] [PATCH] Inter-VM shared memory PCI device

2010-03-09 Thread Jamie Lokier
Paul Brook wrote: > > On 03/08/2010 12:53 AM, Paul Brook wrote: > > >> Support an inter-vm shared memory device that maps a shared-memory > > >> object as a PCI device in the guest. This patch also supports > > >> interrupts between guest by communicating over a unix domain socket. > > >> This pa

Re: [Qemu-devel] virtio block device and sysfs

2010-03-09 Thread Marc Haber
Hi, On Tue, Mar 09, 2010 at 12:04:39PM -0800, jvrao wrote: > Here is the patch for the guest kernel. > > http://patchwork.kernel.org/patch/83873/ Thanks, the comment explained it for me. Are all those relevant patches in git head of qemu, so that I can actually try? Will it be necessary to ada

Re: [Qemu-devel] virtio block device and sysfs

2010-03-09 Thread Anthony Liguori
On 03/06/2010 04:42 PM, Marc Haber wrote: Hi, I am looking to get in touch with somebody who knows more about the connection between host configuration, qemu, kvm, and the virtio block device driver guest side than I know. My goal is to have a possibility to give a "speaking" name to any block

Re: [Qemu-devel] [PATCH] Inter-VM shared memory PCI device

2010-03-09 Thread Anthony Liguori
On 03/08/2010 03:54 AM, Jamie Lokier wrote: Alexander Graf wrote: Or we could put in some code that tells the guest the host shm architecture and only accept x86 on x86 for now. If anyone cares for other combinations, they're free to implement them. Seriously, we're looking at an interface

Re: [Qemu-devel] [PATCH] Inter-VM shared memory PCI device

2010-03-09 Thread Anthony Liguori
On 03/08/2010 07:16 AM, Avi Kivity wrote: On 03/08/2010 03:03 PM, Paul Brook wrote: On 03/08/2010 12:53 AM, Paul Brook wrote: Support an inter-vm shared memory device that maps a shared-memory object as a PCI device in the guest. This patch also supports interrupts between guest by communicati

  1   2   >