Re: [RFC net-next 00/18] virtio_net XDP offload

2019-12-01 Thread David Ahern
On 11/27/19 10:18 PM, Jason Wang wrote: > We try to follow what NFP did by starting from a fraction of the whole > eBPF features. It would be very hard to have all eBPF features > implemented from the start.  It would be helpful to clarify what's the > minimal set of features that you want to have

Re: [RFC net-next 07/18] tun: set offloaded xdp program

2019-12-01 Thread David Ahern
On 11/26/19 4:07 AM, Prashant Bhole wrote: > From: Jason Wang > > This patch introduces an ioctl way to set an offloaded XDP program > to tun driver. This ioctl will be used by qemu to offload XDP program > from virtio_net in the guest. > Seems like you need to set / reset the SOCK_XDP flag on

Re: [RFC net-next 08/18] tun: run offloaded XDP program in Tx path

2019-12-01 Thread David Ahern
On 11/26/19 4:07 AM, Prashant Bhole wrote: > run offloaded XDP program as soon as packet is removed from the ptr > ring. Since this is XDP in Tx path, the traditional handling of > XDP actions XDP_TX/REDIRECT isn't valid. For this reason we call > do_xdp_generic_core instead of do_xdp_generic.

Re: [RFC net-next 07/18] tun: set offloaded xdp program

2019-12-01 Thread David Ahern
On 11/26/19 4:07 AM, Prashant Bhole wrote: > From: Jason Wang > > This patch introduces an ioctl way to set an offloaded XDP program > to tun driver. This ioctl will be used by qemu to offload XDP program > from virtio_net in the guest. > > Signed-off-by: Jason Wang > Signed-off-by: Prashant

[Qemu-devel] [PATCH] rocker: fix clang compiler errors

2015-03-06 Thread David Ahern
Consolidate all forward typedef declarations to rocker.h. Signed-off-by: David Ahern dsah...@gmail.com Acked-by: Scott Feldman sfel...@gmail.com --- hw/net/rocker/rocker.c| 4 ++-- hw/net/rocker/rocker.h| 7 +++ hw/net/rocker/rocker_desc.c | 10 -- hw/net/rocker

Re: [Qemu-devel] [PATCH v7 07/10] qmp: add rocker device support

2015-02-16 Thread David Ahern
On 2/16/15 3:37 PM, Scott Feldman wrote: On Mon, Feb 16, 2015 at 5:16 PM, Paolo Bonzini pbonz...@redhat.com wrote: On 16/02/2015 22:47, sfel...@gmail.com wrote: From: Scott Feldman sfel...@gmail.com Add QMP/HMP support for rocker devices. This is mostly for debugging purposes to see inside

Re: [Qemu-devel] networking stalls in the guest -- backlog in the host

2014-04-01 Thread David Ahern
On 4/1/14, 9:09 AM, Stefan Hajnoczi wrote: On Thu, Mar 27, 2014 at 04:13:15PM -0600, David Ahern wrote: We are hitting a networking problem and hoping someone has an idea -- perhaps a known bug. After a couple of hours of runtime with low level traffic (e.g., 1 sec pings) the VM stops

[Qemu-devel] networking stalls in the guest -- backlog in the host

2014-03-27 Thread David Ahern
We are hitting a networking problem and hoping someone has an idea -- perhaps a known bug. After a couple of hours of runtime with low level traffic (e.g., 1 sec pings) the VM stops receiving packets. In the host running tc on the tap device shows a full backlog and packets getting dropped:

Re: [Qemu-devel] Compile QEMU for android

2012-01-18 Thread David Ahern
On 01/18/2012 08:41 AM, Spartacus Rex wrote: Hi there, I am trying to get a version of qemu to compile for Android. Then I would like to boot debian-armel.. or even a minimal arm buildroot fs. Why do you want to run a VM on Android versus using the rootfs natively? David

Re: [Qemu-devel] qemu-kvm aborts - vhost_dev_unassign_memory: Assertion `to = 0' failed.

2011-08-04 Thread David Ahern
On 08/03/2011 09:00 AM, Michael S. Tsirkin wrote: On Wed, Aug 03, 2011 at 07:55:47AM -0600, David Ahern wrote: Tested-by: David Ahern daah...@cisco.com David Applied, thanks very much. I assume this will make 0.15 since it is a regression? haven't seen the patch applied to that branch

Re: [Qemu-devel] qemu-kvm aborts - vhost_dev_unassign_memory: Assertion `to = 0' failed.

2011-08-04 Thread David Ahern
On 08/04/2011 01:17 PM, Michael S. Tsirkin wrote: On Thu, Aug 04, 2011 at 12:48:49PM -0600, David Ahern wrote: On 08/03/2011 09:00 AM, Michael S. Tsirkin wrote: On Wed, Aug 03, 2011 at 07:55:47AM -0600, David Ahern wrote: Tested-by: David Ahern daah...@cisco.com David Applied, thanks

Re: [Qemu-devel] qemu-kvm aborts - vhost_dev_unassign_memory: Assertion `to = 0' failed.

2011-08-03 Thread David Ahern
On 08/03/2011 06:24 AM, Michael S. Tsirkin wrote: On Wed, Aug 03, 2011 at 02:48:05PM +0300, Avi Kivity wrote: On 08/01/2011 08:44 PM, David Ahern wrote: qemu-kvm.git as of: commit dacdc4b10bafbb21120e1c24a9665444768ef999 Merge: 7b69d4f 0af4922 Author: Avi Kivitya...@redhat.com Date: Sun

[Qemu-devel] qemu-kvm aborts - vhost_dev_unassign_memory: Assertion `to = 0' failed.

2011-08-01 Thread David Ahern
qemu-kvm.git as of: commit dacdc4b10bafbb21120e1c24a9665444768ef999 Merge: 7b69d4f 0af4922 Author: Avi Kivity a...@redhat.com Date: Sun Jul 31 11:42:26 2011 +0300 Merge branch 'upstream-merge' into next is aborting with the error: qemu-kvm: qemu-kvm.git/hw/vhost.c:123:

Re: [Qemu-devel] qemu-kvm aborts - vhost_dev_unassign_memory: Assertion `to = 0' failed.

2011-08-01 Thread David Ahern
On 08/01/2011 11:44 AM, David Ahern wrote: qemu-kvm.git as of: commit dacdc4b10bafbb21120e1c24a9665444768ef999 Merge: 7b69d4f 0af4922 Author: Avi Kivity a...@redhat.com Date: Sun Jul 31 11:42:26 2011 +0300 Merge branch 'upstream-merge' into next is aborting with the error

[Qemu-devel] PPC version of Fedora 12 on qemu

2011-07-08 Thread David Ahern
Has anyone successfully installed the PPC version of Fedora-12 in a qemu VM? So far I have been unsuccessful - with the installs failing on the bootloader. Running yabootconfig manually is failing. Should this work? I am using qemu.git, pulled this morning. Thanks, David

Re: [Qemu-devel] [PATCH 13/31] usb-ehci: drop EXECUTING checks.

2011-06-06 Thread David Ahern
On 06/06/2011 06:39 AM, Gerd Hoffmann wrote: The state machine doesn't stop in EXECUTING state any more when async packets are in flight, so the checks are not needed any more and can be dropped. Also kick out the check for the frame timer. As we don't stop sleep any more on async packets

Re: [Qemu-devel] [PATCH 13/31] usb-ehci: drop EXECUTING checks.

2011-06-06 Thread David Ahern
On 06/06/2011 07:34 AM, David Ahern wrote: On 06/06/2011 06:39 AM, Gerd Hoffmann wrote: The state machine doesn't stop in EXECUTING state any more when async packets are in flight, so the checks are not needed any more and can be dropped. Also kick out the check for the frame timer. As we

Re: [Qemu-devel] [PATCH 13/31] usb-ehci: drop EXECUTING checks.

2011-06-06 Thread David Ahern
On 06/06/2011 08:25 AM, Gerd Hoffmann wrote: Hi, -#if EHCI_DEBUG == 0 -if (qemu_get_clock_ns(vm_clock) / 1000= ehci-frame_end_usec) { -if (async) { -DPRINTF(FETCHENTRY: FRAME timer elapsed, exit state machine\n); -goto out; -} else { -

Re: [Qemu-devel] [PATCH 08/31] usb-ehci: multiqueue support

2011-06-06 Thread David Ahern
On 06/06/2011 06:38 AM, Gerd Hoffmann wrote: This patch adds support for keeping multiple queues going at the same time. One slow device will not affect other devices any more. The patch adds code to manage EHCIQueue structs. It also does a number of changes to the state machine: * The

Re: [Qemu-devel] [PATCH 2/3] ehci: Fix unused-but-set-variable warning

2011-06-01 Thread David Ahern
On 06/01/2011 06:56 AM, Christophe Fergeau wrote: @@ -1134,11 +1128,8 @@ static int ehci_process_itd(EHCIState *ehci, DPRINTF(ISOCH: buffer %08X len %d\n, ptr, len); -if (!dir) { +if (!dir) cpu_physical_memory_rw(ptr, ehci-buffer[0],

Re: [Qemu-devel] [PATCH 18/18] usb: add ehci adapter

2011-05-17 Thread David Ahern
On 05/17/11 01:20, Gerd Hoffmann wrote: On 05/16/11 13:56, Gerd Hoffmann wrote: This patch finally merges the EHCI host adapter aka USB 2.0 support. Based on git://git.kiszka.org/qemu.git ehci Changes: - Adapt to recent changes in the usb subsystem. - Don't create device

Re: [Qemu-devel] [PATCH 18/18] usb: add ehci adapter

2011-05-17 Thread David Ahern
On 05/17/11 06:42, David Ahern wrote: On 05/17/11 01:20, Gerd Hoffmann wrote: On 05/16/11 13:56, Gerd Hoffmann wrote: This patch finally merges the EHCI host adapter aka USB 2.0 support. Based on git://git.kiszka.org/qemu.git ehci Changes: - Adapt to recent changes in the usb

Re: [Qemu-devel] [PATCH 18/18] usb: add ehci adapter

2011-05-17 Thread David Ahern
On 05/17/11 07:46, Gerd Hoffmann wrote: Hi, As someone who spent a significant amount of time working on the EHCI code last year I am absolutely not ok with this. The entire contribution history for EHCI lost - and for no reason. There is a reason. I've tried to keep the history,

Re: [Qemu-devel] [PATCH 18/18] usb: add ehci adapter

2011-05-17 Thread David Ahern
On 05/17/11 09:02, Gerd Hoffmann wrote: Hi, (And by the way, where are the focused patches for each, especially the last one - nuking the 8kHz code? It's squashed in, like everything else. We know that it worked on linux and that printers, scanners and storage devices worked ok

Re: [Qemu-devel] [PATCH 18/18] usb: add ehci adapter

2011-05-17 Thread David Ahern
On 05/17/11 01:20, Gerd Hoffmann wrote: On 05/16/11 13:56, Gerd Hoffmann wrote: This patch finally merges the EHCI host adapter aka USB 2.0 support. Based on git://git.kiszka.org/qemu.git ehci Changes: - Adapt to recent changes in the usb subsystem. - Don't create device

[Qemu-devel] USB streaming [Re: [PATCH 18/18] usb: add ehci adapter]

2011-05-17 Thread David Ahern
On 05/17/11 11:36, Hans de Goede wrote: Very likely it won't be needed both the guest OS, as well as any emulated hardware (or redirection code) will be doing some amount of buffering. Normal bufferering for usb video devices is 32 iso packets per urb and then 2-4 queued urbs, so that means

Re: [Qemu-devel] USB streaming [Re: [PATCH 18/18] usb: add ehci adapter]

2011-05-17 Thread David Ahern
On 05/17/11 12:44, Hans de Goede wrote: Hi, On 05/17/2011 07:43 PM, David Ahern wrote: On 05/17/11 11:36, Hans de Goede wrote: Very likely it won't be needed both the guest OS, as well as any emulated hardware (or redirection code) will be doing some amount of buffering. Normal

Re: [Qemu-devel] USB streaming [Re: [PATCH 18/18] usb: add ehci adapter]

2011-05-17 Thread David Ahern
On 05/17/11 13:10, David Ahern wrote: Note that once every while a packet will get lost since normally a usb device is synced to the usb frame timer, but the real and emulated frame timer are not synced, so eventually a packet will get lost. I noticed that as well. The guest uhci driver

Re: [Qemu-devel] [PATCH 18/18] usb: add ehci adapter

2011-05-17 Thread David Ahern
On 05/17/11 14:39, Blue Swirl wrote: The development history (implement a feature, fix bugs, implement another, fix bugs etc) is not interesting and pulling it would make bisection and other bugfixing more difficult. The patches should not add known broken features and fix them next.

Re: [Qemu-devel] [PATCH 12/18] usb-linux: split large xfers

2011-05-16 Thread David Ahern
On 05/16/11 13:56, Gerd Hoffmann wrote: Add support for splitting large transfers into multiple smaller ones. This is needed for the upcoming EHCI emulation which allows guests to submit requests up to 20k in size. The linux kernel allows 16k max size though. Roughly based on a patch from

Re: [Qemu-devel] [PATCH v2 3/3] raw-posix: Re-open host CD-ROM after media change

2011-04-04 Thread David Ahern
On 04/04/11 07:38, Anthony Liguori wrote: On 04/04/2011 08:22 AM, Avi Kivity wrote: On 04/03/2011 02:57 PM, Stefan Hajnoczi wrote: In order for media change to work with Linux host CD-ROM it is necessary to reopen the file (otherwise the inode size will not refresh, this is an issue with

Re: [Qemu-devel] [PATCH v2 3/3] raw-posix: Re-open host CD-ROM after media change

2011-04-04 Thread David Ahern
On 04/04/11 23:33, Stefan Hajnoczi wrote: On Mon, Apr 4, 2011 at 6:54 PM, David Ahern dsah...@gmail.com wrote: On 04/04/11 07:38, Anthony Liguori wrote: On 04/04/2011 08:22 AM, Avi Kivity wrote: On 04/03/2011 02:57 PM, Stefan Hajnoczi wrote: In order for media change to work with Linux host

Re: [Qemu-devel] [PATCH 02/10] parallel: make optional

2011-02-13 Thread David Ahern
On 02/12/11 15:40, Blue Swirl wrote: Ignore failure with parallel device creation. Signed-off-by: Blue Swirl blauwir...@gmail.com --- hw/pc.h |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/hw/pc.h b/hw/pc.h index 443ba34..f823b7d 100644 --- a/hw/pc.h

Re: [Qemu-devel] Re: [PATCH 0/4] fix/add CONFIG_* options for VMWare device emulation

2011-02-01 Thread David Ahern
On 02/01/11 20:01, Juan Quintela wrote: Blue Swirl blauwir...@gmail.com wrote: On Tue, Feb 1, 2011 at 4:53 PM, Eduardo Habkost ehabk...@redhat.com wrote: Hi, This series makes CONFIG_VMWARE_VGA actually work (today we can't disable the option without getting a build error). It also add

Re: [Qemu-devel] [PATCH 1/8] fix 'no such file' error from make_device_config.sh

2011-01-14 Thread David Ahern
On 01/14/11 03:34, Markus Armbruster wrote: What about: diff --git a/make_device_config.sh b/make_device_config.sh index 596fc5b..711829c 100644 --- a/make_device_config.sh +++ b/make_device_config.sh @@ -18,7 +18,7 @@ process_includes () { f=$src while [ -n $f ] ; do - f=`tr -d

[Qemu-devel] Re: [PATCH 6/8] x86_64 config: fix compile for CONFIG_VGA_ISA=n

2011-01-14 Thread David Ahern
On 01/14/11 00:31, Paolo Bonzini wrote: On 01/13/2011 06:28 PM, David Ahern wrote: @@ -1087,8 +1087,10 @@ void pc_vga_init(PCIBus *pci_bus) } else if (std_vga_enabled) { if (pci_bus) { pci_vga_init(pci_bus); +#ifdef CONFIG_VGA_ISA } else

[Qemu-devel] [PATCH 00/11] misc cleanups for use of config settings

2011-01-14 Thread David Ahern
option - add option for disabling all sound cards David Ahern (11): fix 'no such file' error from make_device_config.sh config: settings from default-configs need to be included in header files config: fix compile for CONFIG_VMWARE_VGA=n config: fix compile for CONFIG_PARALLEL=n remove

[Qemu-devel] [PATCH 05/11] remove unused parallel_* variables from pc.c

2011-01-14 Thread David Ahern
Signed-off-by: David Ahern daah...@cisco.com --- hw/pc.c |3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/hw/pc.c b/hw/pc.c index 18ec0df..6a55d2f 100644 --- a/hw/pc.c +++ b/hw/pc.c @@ -826,9 +826,6 @@ static const int ne2000_io[NE2000_NB_MAX] = { 0x300, 0x320, 0x340

[Qemu-devel] [PATCH 06/11] config: fix compile for CONFIG_NE2000_ISA=n

2011-01-14 Thread David Ahern
Signed-off-by: David Ahern daah...@cisco.com --- hw/pc.c |4 hw/pc_piix.c |2 ++ 2 files changed, 6 insertions(+), 0 deletions(-) diff --git a/hw/pc.c b/hw/pc.c index 6a55d2f..e7514fd 100644 --- a/hw/pc.c +++ b/hw/pc.c @@ -822,9 +822,11 @@ static void load_linux(void *fw_cfg

[Qemu-devel] [PATCH 02/11] config: settings from default-configs need to be included in header files

2011-01-14 Thread David Ahern
devices make file is renamed to config-host-devices.mak and the target devices mak file to config-target-devices.mak. Signed-off-by: David Ahern daah...@cisco.com --- Makefile| 16 Makefile.hw |2 +- Makefile.target |4 ++-- rules.mak |4 ++-- 4

[Qemu-devel] [PATCH 01/11] fix 'no such file' error from make_device_config.sh

2011-01-14 Thread David Ahern
Markus Armbruster arm...@redhat.com. Signed-off-by: David Ahern daah...@cisco.com --- make_device_config.sh |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/make_device_config.sh b/make_device_config.sh index 596fc5b..711829c 100644 --- a/make_device_config.sh +++ b

[Qemu-devel] [PATCH 08/11] config: fix compile for CONFIG_IDE_ISA=n

2011-01-14 Thread David Ahern
Signed-off-by: David Ahern daah...@cisco.com --- hw/pc_piix.c |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/hw/pc_piix.c b/hw/pc_piix.c index 7d65e37..68f602f 100644 --- a/hw/pc_piix.c +++ b/hw/pc_piix.c @@ -38,9 +38,11 @@ #define MAX_IDE_BUS 2 +#ifdef

[Qemu-devel] [PATCH 03/11] config: fix compile for CONFIG_VMWARE_VGA=n

2011-01-14 Thread David Ahern
Signed-off-by: David Ahern daah...@cisco.com --- hw/pc.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/hw/pc.c b/hw/pc.c index fface7d..50795e8 100644 --- a/hw/pc.c +++ b/hw/pc.c @@ -1069,11 +1069,13 @@ void pc_vga_init(PCIBus *pci_bus) } else

[Qemu-devel] [PATCH 11/11] config: allow none as a configure option to disable all sound cards

2011-01-14 Thread David Ahern
Signed-off-by: David Ahern daah...@cisco.com --- configure |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/configure b/configure index 438219b..8ae997c 100755 --- a/configure +++ b/configure @@ -77,7 +77,7 @@ cross_prefix= cc=gcc audio_drv_list= audio_card_list=ac97

[Qemu-devel] [PATCH 04/11] config: fix compile for CONFIG_PARALLEL=n

2011-01-14 Thread David Ahern
Signed-off-by: David Ahern daah...@cisco.com --- hw/pc.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/hw/pc.c b/hw/pc.c index 50795e8..18ec0df 100644 --- a/hw/pc.c +++ b/hw/pc.c @@ -1138,11 +1138,13 @@ void pc_basic_device_init(qemu_irq *isa_irq

[Qemu-devel] [PATCH 07/11] config: handle CONFIG_VGA_ISA=n

2011-01-14 Thread David Ahern
Fix compile errors and remove -M isapc option for CONFIG_VGA_ISA=n. Signed-off-by: David Ahern daah...@cisco.com --- hw/pc.c |2 ++ hw/pc_piix.c |6 ++ 2 files changed, 8 insertions(+), 0 deletions(-) diff --git a/hw/pc.c b/hw/pc.c index e7514fd..11b570f 100644 --- a/hw/pc.c

[Qemu-devel] [PATCH 09/11] config: fix compile for CONFIG_FDC=n

2011-01-14 Thread David Ahern
Signed-off-by: David Ahern daah...@cisco.com --- hw/pc.c | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/hw/pc.c b/hw/pc.c index 11b570f..b50bbc4 100644 --- a/hw/pc.c +++ b/hw/pc.c @@ -191,6 +191,7 @@ static void pic_irq_request(void *opaque, int irq, int level

[Qemu-devel] [PATCH 10/11] config: add CONFIG_APPLESMC

2011-01-14 Thread David Ahern
Signed-off-by: David Ahern daah...@cisco.com --- Makefile.target|3 ++- default-configs/i386-softmmu.mak |1 + default-configs/x86_64-softmmu.mak |1 + 3 files changed, 4 insertions(+), 1 deletions(-) diff --git a/Makefile.target b/Makefile.target index f3ed066

Re: [Qemu-devel] [PATCH 02/11] config: settings from default-configs need to be included in header files

2011-01-14 Thread David Ahern
On 01/14/11 13:17, Blue Swirl wrote: On Fri, Jan 14, 2011 at 7:12 PM, David Ahern daah...@cisco.com wrote: Currently, device config settings in the default-configs file are not propogated into the config*.h files. While the Makefile rules observe them through the *.mak files, the CONFIG

Re: [Qemu-devel] [PATCH 02/11] config: settings from default-configs need to be included in header files

2011-01-14 Thread David Ahern
On 01/14/11 13:31, Blue Swirl wrote: On Fri, Jan 14, 2011 at 8:24 PM, David Ahern daah...@cisco.com wrote: On 01/14/11 13:17, Blue Swirl wrote: On Fri, Jan 14, 2011 at 7:12 PM, David Ahern daah...@cisco.com wrote: Currently, device config settings in the default-configs file

Re: [Qemu-devel] [PATCH 02/11] config: settings from default-configs need to be included in header files

2011-01-14 Thread David Ahern
On 01/14/11 13:57, Blue Swirl wrote: That's OK, but the correct fix is to change the design of the machine model to something more advanced where the unwanted objects are simply not linked in, without any changes to board code. This is not so trivial and also many devices are not

Re: [Qemu-devel] [PATCH 01/11] fix 'no such file' error from make_device_config.sh

2011-01-14 Thread David Ahern
On 01/14/11 14:04, Stefan Weil wrote: Am 14.01.2011 20:12, schrieb David Ahern: make_device_config currently emits an error: make config-all-devices.mak GEN x86_64-softmmu/config-devices.mak /home/dsa/kvm/releases/qemu.git/make_device_config.sh: line 21: /home/dsa/kvm/releases/qe

Re: [Qemu-devel] [PATCH 02/11] config: settings from default-configs need to be included in header files

2011-01-14 Thread David Ahern
On 01/14/11 14:36, Blue Swirl wrote: On Fri, Jan 14, 2011 at 9:04 PM, David Ahern daah...@cisco.com wrote: On 01/14/11 13:57, Blue Swirl wrote: That's OK, but the correct fix is to change the design of the machine model to something more advanced where the unwanted objects are simply

Re: [Qemu-devel] [PATCH 0/8] misc cleanups for x86_64 disabling config settings

2011-01-13 Thread David Ahern
; I only wanted the existing design to actually work. There are a number of CONFIG settings which exist in name, but cannot in fact be disabled. David On Wed, Jan 12, 2011 at 11:34:29PM -0700, David Ahern wrote: David Ahern (8): fix 'no such file' error from make_device_config.sh

Re: [Qemu-devel] [PATCH 1/8] fix 'no such file' error from make_device_config.sh

2011-01-13 Thread David Ahern
On 01/13/11 06:43, Markus Armbruster wrote: David Ahern daah...@cisco.com writes: make_device_config currently emits an error: make config-all-devices.mak GEN x86_64-softmmu/config-devices.mak /home/dsa/kvm/releases/qemu.git/make_device_config.sh: line 21: /home/dsa/kvm/releases

[Qemu-devel] Re: [PATCH 6/8] x86_64 config: fix compile for CONFIG_VGA_ISA=n

2011-01-13 Thread David Ahern
On 01/13/11 10:02, Paolo Bonzini wrote: On 01/13/2011 07:34 AM, David Ahern wrote: Signed-off-by: David Aherndaah...@cisco.com --- hw/pc.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/hw/pc.c b/hw/pc.c index e7514fd..11b570f 100644 --- a/hw/pc.c +++ b/hw

[Qemu-devel] Re: [PATCH 8/8] x86_64 config: fix compile for CONFIG_FDC=n

2011-01-13 Thread David Ahern
On 01/13/11 10:04, Paolo Bonzini wrote: On 01/13/2011 07:34 AM, David Ahern wrote: +#ifdef CONFIG_FDC /* floppy type */ fd0 = fdctrl_get_drive_type(floppy_controller, 0); @@ -403,6 +408,7 @@ void pc_cmos_init(ram_addr_t ram_size, ram_addr_t above_4g_mem_size, val

[Qemu-devel] [PATCH 0/8] misc cleanups for x86_64 disabling config settings

2011-01-12 Thread David Ahern
David Ahern (8): fix 'no such file' error from make_device_config.sh x86_64 config: fix compile for CONFIG_VMWARE_VGA=n x86_64 config: fix compile for CONFIG_PARALLEL=n remove unused parallel_* variables from pc.c x86_64 config: fix compile for CONFIG_NE2000_ISA=n x86_64 config: fix

[Qemu-devel] [PATCH 6/8] x86_64 config: fix compile for CONFIG_VGA_ISA=n

2011-01-12 Thread David Ahern
Signed-off-by: David Ahern daah...@cisco.com --- hw/pc.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/hw/pc.c b/hw/pc.c index e7514fd..11b570f 100644 --- a/hw/pc.c +++ b/hw/pc.c @@ -1087,8 +1087,10 @@ void pc_vga_init(PCIBus *pci_bus) } else if (std_vga_enabled

[Qemu-devel] [PATCH 7/8] x86_64 config: fix compile for CONFIG_IDE_ISA=n

2011-01-12 Thread David Ahern
Signed-off-by: David Ahern daah...@cisco.com --- hw/pc_piix.c |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/hw/pc_piix.c b/hw/pc_piix.c index 5046947..e794a82 100644 --- a/hw/pc_piix.c +++ b/hw/pc_piix.c @@ -38,9 +38,11 @@ #define MAX_IDE_BUS 2 +#ifdef

[Qemu-devel] [PATCH 8/8] x86_64 config: fix compile for CONFIG_FDC=n

2011-01-12 Thread David Ahern
Signed-off-by: David Ahern daah...@cisco.com --- hw/pc.c |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/hw/pc.c b/hw/pc.c index 11b570f..71750f5 100644 --- a/hw/pc.c +++ b/hw/pc.c @@ -189,6 +189,7 @@ static void pic_irq_request(void *opaque, int irq, int level

[Qemu-devel] [PATCH 4/8] remove unused parallel_* variables from pc.c

2011-01-12 Thread David Ahern
Signed-off-by: David Ahern daah...@cisco.com --- hw/pc.c |3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/hw/pc.c b/hw/pc.c index 18ec0df..6a55d2f 100644 --- a/hw/pc.c +++ b/hw/pc.c @@ -826,9 +826,6 @@ static const int ne2000_io[NE2000_NB_MAX] = { 0x300, 0x320, 0x340

[Qemu-devel] [PATCH 1/8] fix 'no such file' error from make_device_config.sh

2011-01-12 Thread David Ahern
redirection for tr so change it to cat. Signed-off-by: David Ahern daah...@cisco.com --- make_device_config.sh |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/make_device_config.sh b/make_device_config.sh index 596fc5b..1ce4088 100644 --- a/make_device_config.sh +++ b

[Qemu-devel] [PATCH] Create USB buses and devices based on USB version.

2010-07-26 Thread David Ahern
Create USB buses and devices based on USB version. This addresses addresses a number of FIXME's by assigning USB devices to a specific bus. t is also groundwork for adding ehci. Signed-off-by: David Ahern daah...@cisco.com --- hw/usb-bus.c| 70

[Qemu-devel] booting Netboot images created by mknbi

2010-07-15 Thread David Ahern
Is it possible to run qemu with a netboot image -- something created by mknbi? If so any notes on how to do that? David

Re: [Qemu-devel] booting Netboot images created by mknbi

2010-07-15 Thread David Ahern
On 07/15/10 12:26, Stefan Hajnoczi wrote: On Thu, Jul 15, 2010 at 5:09 PM, David Ahern dsah...@gmail.com wrote: Is it possible to run qemu with a netboot image -- something created by mknbi? If so any notes on how to do that? Yes, QEMU ships with a gPXE network boot ROM. Previously

[Qemu-devel] [PATCH] Create USB buses and devices based on USB version.

2010-07-14 Thread David Ahern
Create USB buses and devices based on USB version. Signed-off-by: David Ahern daah...@cisco.com --- hw/usb-bus.c| 70 --- hw/usb-msd.c|2 +- hw/usb-net.c|2 +- hw/usb-ohci.c |2 +- hw/usb-serial.c |4 +- hw/usb

[Qemu-devel] [PATCH] ehci: check controller state when setting list registers

2010-07-09 Thread David Ahern
at boot time with a device attached at boot (spins on blank screen). The Vista beast is ok which suggests an issue with WinXP. Both of these OS access the registers with the lists enabled AND the controller in the run state. Signed-off-by: David Ahern daah...@cisco.com --- hw/usb-ehci.c | 27

[Qemu-devel] [PATCH] ehci: honor frame expiration, async list picks up where it left off

2010-07-09 Thread David Ahern
too much time. Signed-off-by: David Ahern daah...@cisco.com --- hw/usb-ehci.c | 24 1 files changed, 12 insertions(+), 12 deletions(-) diff --git a/hw/usb-ehci.c b/hw/usb-ehci.c index 6e455a2..53ee1fb 100644 --- a/hw/usb-ehci.c +++ b/hw/usb-ehci.c @@ -1308,14 +1308,10

[Qemu-devel] [PATCH] ehci: catch invalid qTD earlier - avoid reset

2010-07-09 Thread David Ahern
Catch invalid qTD earlier. Signed-off-by: David Ahern daah...@cisco.com --- hw/usb-ehci.c | 12 +--- 1 files changed, 5 insertions(+), 7 deletions(-) diff --git a/hw/usb-ehci.c b/hw/usb-ehci.c index 53ee1fb..47f3a54 100644 --- a/hw/usb-ehci.c +++ b/hw/usb-ehci.c @@ -838,11 +838,6

[Qemu-devel] [PATCH] ehci: uhci-ehci co-existence (handling v1.1 and v2 devices)

2010-07-07 Thread David Ahern
1.3, Speed 480 Mb/s, Product DT 101 II Signed-off-by: David Ahern daah...@cisco.com --- hw/pc_piix.c|7 + hw/usb-bus.c| 70 +- hw/usb-ehci.c |6 - hw/usb-msd.c|2 +- hw/usb-net.c|6 ++-- hw/usb-ohci.c

Re: [Qemu-devel] Re: Webcam solution for QEMU

2010-05-12 Thread David Ahern
On 05/09/2010 08:28 PM, Natalia Portillo wrote: Hello Arnon, Hola Albert, Wouldn't be easier to implement a custom video capture device? You can always emulate a simple one, like (to say) OV511 webcam, and feed that emulated device with video taken from any V4L2/DirectShow/BDA supported

[Qemu-devel] [PATCH] Improve detection of invalid entries in the async schedule

2010-04-25 Thread David Ahern
Signed-off-by: David Ahern daah...@cisco.com --- hw/usb-ehci.c | 41 + 1 files changed, 29 insertions(+), 12 deletions(-) diff --git a/hw/usb-ehci.c b/hw/usb-ehci.c index 29baf74..e2f8e54 100644 --- a/hw/usb-ehci.c +++ b/hw/usb-ehci.c @@ -144,7 +144,7

[Qemu-devel] [PATCH] Changes to usb-linux to conform to coding style

2010-04-24 Thread David Ahern
Signed-off-by: David Ahern daah...@cisco.com --- usb-linux.c | 374 +++ 1 files changed, 224 insertions(+), 150 deletions(-) diff --git a/usb-linux.c b/usb-linux.c index d0d7cff..b3d6b28 100644 --- a/usb-linux.c +++ b/usb-linux.c @@ -105,9

[Qemu-devel] [PATCH] Move 16k limitation in request size for host devices from ehci to usb-linux

2010-04-24 Thread David Ahern
controller into 2 URB submissions to the host devices. Signed-off-by: David Ahern daah...@cisco.com --- hw/usb-ehci.c | 48 +-- usb-linux.c | 121 ++-- 2 files changed, 75 insertions(+), 94 deletions(-) diff --git a/hw

[Qemu-devel] [PATCH] Update usb-linux to handle maximum of 16k transfers.

2010-04-22 Thread David Ahern
controller into 2 URB submissions to the host devices. Signed-off-by: David Ahern daah...@cisco.com --- usb-linux.c | 139 +++ 1 files changed, 83 insertions(+), 56 deletions(-) diff --git a/usb-linux.c b/usb-linux.c index d0d7cff..688f45e

[Qemu-devel] [PATCH] add close callback for tty-based char device

2010-02-10 Thread David Ahern
: usb_add serial::/dev/ttyS0 and then removing the device with: usb_del serial::/dev/ttyS0 Signed-off-by: David Ahern daah...@cisco.com --- qemu-char.c | 15 +++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/qemu-char.c b/qemu-char.c index 75dbf66..77edec9 100644

[Qemu-devel] [PATCH v2] add close callback for tty-based char device

2010-02-10 Thread David Ahern
using the monitor command: usb_add serial::/dev/ttyS0 and then removing the device with: usb_del serial::/dev/ttyS0 Signed-off-by: David Ahern daah...@cisco.com --- qemu-char.c | 17 + 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/qemu-char.c b/qemu-char.c