Signed-off-by: Evgeny Voevodin
---
Makefile.objs |1 +
hw/virtio-transport.c | 46 ++
hw/virtio-transport.h | 39 +++
3 files changed, 86 insertions(+), 0 deletions(-)
create mode 100644 hw/virtio-tra
Signed-off-by: Evgeny Voevodin
---
hw/virtio-serial-bus.c | 42 ++
hw/virtio-serial.h |9 +
2 files changed, 51 insertions(+), 0 deletions(-)
diff --git a/hw/virtio-serial-bus.c b/hw/virtio-serial-bus.c
index e22940e..52a5382 100644
--- a
This patchset is derived from patchset provided by Peter Maydell
:
http://lists.gnu.org/archive/html/qemu-devel/2011-11/msg01870.html
Also this patchset includes some fixes for bugs spotted by Ying-Shiuan Pan
.
Still isue pointed by Peter presents here I think:
* extra vring alignment field not
From: Peter Maydell
Support virtio transports which can specify the vring alignment
(ie where the guest communicates this to the host) by providing
a new virtio_queue_set_align() function. (The default alignment
remains as before.)
FIXME save/load support for this new field!
Signed-off-by: Pete
On 25/04/12 13:48, Kevin O'Connor wrote:
> On Tue, Apr 24, 2012 at 06:25:39PM +1200, Alexey Korolev wrote:
>> Migrate 64bit entries to 64bit pci regions if they do
>> not fit in 32bit range.
> [...]
>> +static void pci_region_migrate_64bit_entries(struct pci_region *from,
>> +
Signed-off-by: Evgeny Voevodin
---
hw/virtio-balloon.c | 34 ++
hw/virtio-balloon.h |7 +++
2 files changed, 41 insertions(+), 0 deletions(-)
diff --git a/hw/virtio-balloon.c b/hw/virtio-balloon.c
index ce9d2c9..5640e58 100644
--- a/hw/virtio-balloon.c
+
Signed-off-by: Evgeny Voevodin
---
hw/virtio-net.c | 46 ++
hw/virtio-net.h | 11 +++
2 files changed, 57 insertions(+), 0 deletions(-)
diff --git a/hw/virtio-net.c b/hw/virtio-net.c
index bc5e3a8..febf384 100644
--- a/hw/virtio-net.c
+++ b
NB: This is for test purposes only.
Signed-off-by: Evgeny Voevodin
---
hw/exynos4210.c | 12
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/hw/exynos4210.c b/hw/exynos4210.c
index afc4bdc..e065a86 100644
--- a/hw/exynos4210.c
+++ b/hw/exynos4210.c
@@ -26,6 +26,7 @
From: Peter Maydell
Add support for the generic MMIO based virtio transport.
This patch is a modyfied patch of
Peter Maydell . Changes are to have
virtio-mmio bridge device which provides virtio-mmio bus. To this bus
virtio-mmio-transport device is connect
Signed-off-by: Evgeny Voevodin
---
hw/virtio-blk.c | 42 ++
hw/virtio-blk.h | 11 +++
2 files changed, 53 insertions(+), 0 deletions(-)
diff --git a/hw/virtio-blk.c b/hw/virtio-blk.c
index 49990f8..b6c5ff5 100644
--- a/hw/virtio-blk.c
+++ b/hw/
From: Peter Maydell
The MMIO virtio transport spec allows the guest to tell the host how
large the queue size is. Add virtio_queue_set_num() function which
implements this in the QEMU common virtio support code.
Signed-off-by: Peter Maydell
Signed-off-by: Evgeny Voevodin
---
hw/virtio.c |
On 24/04/12 18:56, Gerd Hoffmann wrote:
> On 04/24/12 08:17, Alexey Korolev wrote:
>> Don't round up bridge regions to the next highest size - instead track
>> alignment explicitly. This should improve the memory layout for
>> bridge regions.
> This one got mangled too:
>
> Applying: pciinit: Trac
On 25/04/12 13:00, Orit Wasserman wrote:
On 04/25/2012 06:32 AM, Amos Kong wrote:
Add a bool argument to inet_connect() to assign if set socket
to block/nonblock, and delete original argument 'socktype'
that is unused.
Add a new argument to inet_connect()/inet_connect_opts(),
to pass back connec
Add a bool argument to inet_connect() to assign if set socket
to block/nonblock, and delete original argument 'socktype'
that is unused.
Add a new argument to inet_connect()/inet_connect_opts(),
to pass back connect error by error class.
Retry to connect when -EINTR is got. Connect's successful
fo
On Tue, Apr 24, 2012 at 7:13 PM, Stefan Hajnoczi wrote:
> On Tue, Apr 24, 2012 at 8:05 AM, Paolo Bonzini wrote:
>> Il 24/04/2012 06:21, ronnie sahlberg ha scritto:
>>> Hi Stefan,
>>>
>>> A little bit off-topic but
>>>
>>> When you design the proper place and API to plug virt-scsi into an
>>> exte
On 04/25/2012 06:32 AM, Amos Kong wrote:
> Add a bool argument to inet_connect() to assign if set socket
> to block/nonblock, and delete original argument 'socktype'
> that is unused.
> Add a new argument to inet_connect()/inet_connect_opts(),
> to pass back connect error by error class.
>
> Retry
Public bug reported:
The smb.conf generated by qemu-kvm contains a "smb ports = 0" directive. This
causes at least version 3.6.4 of Samba to crash with
[0] vostro:/tmp/qemu-smb.6836-0# smbd -i -s smb.conf
Unable to setup corepath for smbd: Operation not permitted
smbd version 3.6.4 started.
Copyr
** Patch added: "Previous patch was broken"
https://bugs.launchpad.net/qemu/+bug/988125/+attachment/3102896/+files/smb-patch.diff
** Patch removed: "smb-patch.diff"
https://bugs.launchpad.net/qemu/+bug/988125/+attachment/3102872/+files/smb-patch.diff
--
You received this bug notification
Public bug reported:
The smb.conf generated by the userspace networking does not include a state
directory
directive. Samba therefore falls back to the default value. Since the user
generally
does not have write access to this path, smbd immediately crashes.
I have attached a patch that adds th
** Patch added: "smb-patch.diff"
https://bugs.launchpad.net/bugs/988125/+attachment/3102872/+files/smb-patch.diff
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/988125
Title:
Generated smb.conf
Add a bool argument to inet_connect() to assign if set socket
to block/nonblock, and delete original argument 'socktype'
that is unused.
Add a new argument to inet_connect()/inet_connect_opts(),
to pass back connect error by error class.
Retry to connect when -EINTR is got. Connect's successful
fo
On 24.04.2012 20:17, Peter Maydell wrote:
On 24 April 2012 05:19, Evgeny Voevodin wrote:
New IRQ gate consists of n_in input qdev gpio lines and one
output sysbus IRQ line. The output IRQ level is formed as OR
between all gpio inputs.
Signed-off-by: Evgeny Voevodin
Reviewed-by: Peter Maydell
On Tue, Apr 24, 2012 at 06:25:39PM +1200, Alexey Korolev wrote:
> Migrate 64bit entries to 64bit pci regions if they do
> not fit in 32bit range.
[...]
> +static void pci_region_migrate_64bit_entries(struct pci_region *from,
> + struct pci_region *to)
> +
On Tue, Apr 24, 2012 at 06:24:27PM +1200, Alexey Korolev wrote:
> Do not store pci region stats - instead calulate the
> sum and alignment on demand.
[...]
> @@ -446,9 +459,9 @@ static int pci_bios_check_devices(struct pci_bus *busses)
> for (type = 0; type < PCI_REGION_TYPE_COUNT; type++)
Dear all,
I'm trying to integrate our custom SSD simulator by modifying the ide part
of qemu.
To do this, beside a boot disk, I'm using an additional disk image in raw
format that is mounted to /dev/sdb.
I'm working with the ubuntu 11.04 image that is mounted as /dev/sda.
I need to monitor
Function added to arch_init.c because it depends on arch-specific
settings.
Changes v1 -> v2:
- Move qemu_read_default_config_file() prototype to qemu-config.h
Signed-off-by: Eduardo Habkost
---
arch_init.c | 18 ++
qemu-config.h |4
vl.c | 10 ++
Am 19.03.2012 13:20, schrieb Stefan Weil:
The MinGW toolchain on w32/w64 hosts does not create symbolic links,
but implements 'ln -s' similar to 'cp -r'.
In incremental out of tree builds, this resulted in files which
were not updated when their counterparts in the QEMU source tree
changed. Espe
Changes v1 -> v2:
- userconfig variable is now bool, not int
Signed-off-by: Eduardo Habkost
---
Makefile | 12 +++-
arch_init.c |1 +
sysconfigs/target/cpus-x86_64.conf | 128 ++
sysconfigs/target/targ
Changes v1 -> v2:
- Change 'userconfig' field/variables to bool instead of int
- Coding style change
Signed-off-by: Eduardo Habkost
---
arch_init.c | 11 ---
qemu-config.h |2 +-
qemu-options.hx | 16 +---
vl.c|6 +-
4 files changed, 27 ins
More files will be added to the list, with additional attributes, later.
Signed-off-by: Eduardo Habkost
---
arch_init.c | 25 -
1 files changed, 16 insertions(+), 9 deletions(-)
diff --git a/arch_init.c b/arch_init.c
index 152cbbb..62332e9 100644
--- a/arch_init.c
+++
Not needed anymore, as the code that uses the variable is already inside
arch_init.c.
Signed-off-by: Eduardo Habkost
---
arch_init.c |3 +--
arch_init.h |2 --
2 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/arch_init.c b/arch_init.c
index 4008115..152cbbb 100644
--- a/arc
Changes v1 -> v2:
- Move qemu_read_default_config_files() prototype to qemu-config.h
- Make defconfig and userconfig variable bool
- Coding style change
Patches 1 to 4 just move some code around, patch 5 just adds the new option
without adding any new config file. Patch 6 finally creates a /usr
Signed-off-by: Eduardo Habkost
---
vl.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/vl.c b/vl.c
index 1e5e593..a4f4676 100644
--- a/vl.c
+++ b/vl.c
@@ -2279,7 +2279,7 @@ int main(int argc, char **argv, char **envp)
#ifdef CONFIG_VNC
int show_vnc_port = 0;
#e
On 04/24/2012 09:15 PM, Hervé Poussineau wrote:
This also (partly) fixes IBM OS/2 Warp 4.0 floppy installation, where
not all floppies have the same format (2x80x18 for the first ones,
2x80x23 for the next ones).
Signed-off-by: Hervé Poussineau
Hi, it isn't fix the media missing issue. I booted
On Tue, 24 Apr 2012 14:53:54 +0100
Stefan Hajnoczi wrote:
> Eric Blake raised concerns about the inability to start block jobs with a
> speed
> limit. Current the user needs to follow up the block-stream command with
> block-job-set-speed. There is a window of time while the new block job is
>
On Mon, 23 Apr 2012 16:39:48 +0100
Stefan Hajnoczi wrote:
> Allow streaming operations to be started with an initial speed limit.
> This eliminates the window of time between starting streaming and
> issuing block-job-set-speed. Users should use the new optional 'speed'
> parameter instead so th
Hi,
Pavel Hrdina a écrit :
On 04/24/2012 09:48 AM, Andreas Färber wrote:
Am 23.04.2012 18:06, schrieb Pavel Hrdina:
Hi,
this is the patch to fix incorrect handling of IDE floppy drive
controller emulation
when no media is present. If the guest is booted without a media then
the drive
was not
This also (partly) fixes IBM OS/2 Warp 4.0 floppy installation, where
not all floppies have the same format (2x80x18 for the first ones,
2x80x23 for the next ones).
Signed-off-by: Hervé Poussineau
---
hw/fdc.c | 29 +++--
1 file changed, 11 insertions(+), 18 deletions(-
On Tue, 24 Apr 2012 14:53:58 +0100
Stefan Hajnoczi wrote:
> Allow streaming operations to be started with an initial speed limit.
> This eliminates the window of time between starting streaming and
> issuing block-job-set-speed. Users should use the new optional 'speed'
> parameter instead so th
And use it for exynos4210 NURI board emulation
Signed-off-by: Igor Mitsyanko
---
Makefile.objs |1 +
default-configs/arm-softmmu.mak |1 +
hw/exynos4_boards.c | 11 +-
hw/maxtouch.c | 1114 +++
4 files
On Tue, 24 Apr 2012 09:03:06 -0600
Eric Blake wrote:
> > +++ b/hmp-commands.hx
> > @@ -85,8 +85,8 @@ ETEXI
> >
> > {
> > .name = "block_job_set_speed",
> > -.args_type = "device:B,value:o",
> > -.params = "device value",
> > +.args_type = "devic
Create 9 exynos4210 i2c interfaces.
Signed-off-by: Igor Mitsyanko
Reviewed-by: Andreas Färber
---
Makefile.target |1 +
hw/exynos4210.c | 27
hw/exynos4210.h |3 +
hw/exynos4210_i2c.c | 334 +++
4 files changed, 365 ins
On Tue, 24 Apr 2012 14:53:55 +0100
Stefan Hajnoczi wrote:
> The block job API uses -errno return values internally and we convert
> these to Error in the QMP functions. This is ugly because the Error
> should be created at the point where we still have all the relevant
> information. More impor
It could be used to save/load array of structs with statically known length
pointed by device state member.
Signed-off-by: Igor Mitsyanko
---
vmstate.h | 14 ++
1 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/vmstate.h b/vmstate.h
index 82d97ae..69e8ac1 100644
--- a
This patchset adds Exynos4210 i2c and GPIO implementation along with Atmel MXT
touchscreen
which is used for NURI board emulation.
v2->v3
- static TypeInfos are made const.
- added spaces after "do {".
- "All rights reserved" sentence is droped from license.
- names are fixed acco
On Fri, Apr 20, 2012 at 12:43:57PM +0800, Amos Kong wrote:
> Use help functions in qemu-socket.c for tcp migration,
> which already support ipv6 addresses.
>
> Currently errp will be set to UNDEFINED_ERROR when migration fails,
> qemu would output "migration failed: ...", and current user can
> se
Exynos4210 SD/MMC host controller is based on SD association standart host
controller ver. 2.00
Signed-off-by: Igor Mitsyanko
---
Makefile.target |1 +
hw/exynos4210.c | 20 +++
hw/exynos4210_sdhci.c | 438 +
3 files changed, 459
First patch introduces standard SD host controller model. This is accumulated
version of my previous patch I sent a while ago and a recent SDHCI patch by
Peter A. G. Crosthwaite.
Second patch introduces Exynos4210-specific SDHCI built on top of standard SDHCI
model.
v1->v2
PATCH1:
- add suppo
On Fri, Apr 20, 2012 at 12:40:24PM +0800, Amos Kong wrote:
> Add a bool argument to inet_connect() to assign if set socket
> to block/nonblock, and delete original argument 'socktype'
> that is unused.
> Add a new argument to inet_connect()/inet_connect_opts(),
> to pass back connect error by error
On 04/19/2012 07:09 AM, Richard Henderson wrote:
Sparc Debian 5.0.8 does not define __suseconds_t as long,
but FMT_timeval expects %ld.
Signed-off-by: Richard Henderson
Cc: Anthony Liguori
Cc: Paolo Bonzini
Applied. Thanks.
Regards,
Anthony Liguori
---
qtest.c |8
1 files
On 04/22/2012 05:16 AM, Kusanagi Kouichi wrote:
Only proxy helper does.
Signed-off-by: Kusanagi Kouichi
Applied. Thanks.
Regards,
Anthony Liguori
---
configure |6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/configure b/configure
index 2d62d12..c8e6fe4 1007
On 04/19/2012 03:27 PM, Stefan Weil wrote:
qemu-system-arm (and other system emulations) crashes with SDL when
the user switches consoles (Alt-Ctrl-F4).
We already check for NULL pointers in qemu_chr_fe_ioctl,
qemu_chr_be_can_write and other functions, so do this also
for s->chr_read in qemu_chr
On 04/20/2012 12:32 AM, Peter Chubb wrote:
If a guest sets very short timeouts, and asks for a timer to be reloaded on
timeout, QEMU can go to 100%CPU utilisation and become unresponsive,
as it is spending all its time generating timeout interrupts. On real
hardware this doesn't matter, as the
On 04/05/2012 06:21 AM, Andreas Färber wrote:
Specify the root to search from as argument. This avoids hardcoding
"/machine" in some places and makes it more flexible.
Signed-off-by: Andreas Färber
Cc: Paolo Bonzini
Cc: Anthony Liguori
Applied. Thanks.
Regards,
Anthony Liguori
---
hw/qd
On 04/20/2012 09:36 AM, Peter Portante wrote:
From the Department of the Redundancy Department:
remove the extra pthread switch which might be there
from the package config check for gthreads.
Signed-off-by: Peter Portante
Applied. Thanks.
Regards,
Anthony Liguori
---
configure |
On 04/18/2012 02:55 PM, Eduardo Habkost wrote:
This is just a rebase of v4, because I noticed that v4 doesn't apply cleanly
against current git master anymore (and I will soon submit a series that will
depend on this one).
Changes v4 -> v5:
- Rebase against latest qemu.git
Changes v3 -> v4:
Hi there,
With the risk of becoming repetitive, I'm going to summarize the problems and
solutions we've discussed in the last few days for the problems found in
qemu-ga's
shutdown and suspend commands.
Gleb and Igor, you may be interested in items 2 and 4.
Basically, we have four issues:
1. T
This patch is from MacPorts [1]. I don't know the origin, but as it's
quite trivial I hope it's okay to post it without that information.
At least it fixes building QEMU on Mac OS 10.7. The compiler error
without that patch:
-- 8< ---
/Users
Hello with bad news! I have:
virtio_ioport_write: unexpected address 0x13 value 0x1
on config:
LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
QEMU_AUDIO_DRV=none /usr/bin/kvm -S -M pc-0.12 -cpu qemu32 -enable-kvm -m 3072
-smp 1 -name nata_xp -uuid da607499-1d8f-e7ef
Make the SETEND instruction respect the setting of bswap_code,
so that in BE8 mode we UNDEF for attempts to switch into
little-endian mode and nop for attempts to stay in big-endian
mode. (This is the inverse of the existing handling of SETEND
in the more common little-endian setup, which we use si
Am 18.04.2012 16:07, schrieb Stefan Hajnoczi:
> The last tracing pull for 1.1 before we merge only fixes.
>
> The following changes since commit 6e7a7f3d9bc2031b4c93c05400b18775ba1b1f55:
>
> Allow controlling volume with PulseAudio backend (2012-04-17 16:57:58 +0400)
>
> are available in the g
- Original Message -
> From: "Raj Rajasekaran"
> To: "Andrew Cathrow"
> Cc: qemu-devel@nongnu.org
> Sent: Tuesday, April 24, 2012 1:49:33 PM
> Subject: Re: [Qemu-devel] Spice vdagent on SLED 11
>
>
> SLED Version 11.
>From what I learned on #kvm you need a later version of SLED (or u
SLED Version 11.
On Tue, Apr 24, 2012 at 12:46 PM, Andrew Cathrow wrote:
>
>
> - Original Message -
> > From: "Raj Rajasekaran"
> > To: "Andrew Cathrow"
> > Cc: qemu-devel@nongnu.org
> > Sent: Tuesday, April 24, 2012 1:38:59 PM
> > Subject: Re: [Qemu-devel] Spice vdagent on SLED 11
> >
- Original Message -
> From: "Raj Rajasekaran"
> To: "Andrew Cathrow"
> Cc: qemu-devel@nongnu.org
> Sent: Tuesday, April 24, 2012 1:38:59 PM
> Subject: Re: [Qemu-devel] Spice vdagent on SLED 11
>
>
> lspci listed 'Communication Controller Virtio console' as one of the
> devices expose
On Tue, Apr 24, 2012 at 06:50:28PM +0200, Andreas Färber wrote:
> Am 24.04.2012 18:36, schrieb Michael Roth:
> > On Tue, Apr 24, 2012 at 11:33:35AM +0200, Andreas Färber wrote:
> >> Signed-off-by: Andreas Färber
> >> ---
> >> target-i386/cpu.c | 14 +-
> >> 1 files changed, 13 inser
lspci listed 'Communication Controller Virtio console' as one of the
devices exposed. But I did not see any /dev/vport*.
On Tue, Apr 24, 2012 at 12:17 PM, Andrew Cathrow wrote:
>
>
> - Original Message -
> > From: "Raj Rajasekaran"
> > To: "Andrew Cathrow"
> > Cc: qemu-devel@nongnu.org
On 24 April 2012 18:04, Rajat Goyal wrote:
> The TCG translation for the ARM setend instruction for user level binaries
> is empty. A binary which just prints "hello world" but inverts the
> endianness to big endian at the beginning of main gives a segmentation fault
> on native ARM but prints out
(CCing Andre Przywara, in case he can help to clarify what's the
expected meaning of "-cpu host")
On Tue, Apr 24, 2012 at 06:06:55PM +0200, Jan Kiszka wrote:
> On 2012-04-23 22:02, Eduardo Habkost wrote:
> > On Mon, Apr 23, 2012 at 06:31:25PM +0200, Jan Kiszka wrote:
> >> However, that was how I i
- Original Message -
> From: "Raj Rajasekaran"
> To: "Andrew Cathrow"
> Cc: qemu-devel@nongnu.org
> Sent: Tuesday, April 24, 2012 12:09:32 PM
> Subject: Re: [Qemu-devel] Spice vdagent on SLED 11
>
>
> Here it is
>
>
>
> qemu -vga qxl -device qxl -global qxl-vga.vram_size=33554432 -
On 20 April 2012 03:12, Peter A. G. Crosthwaite
wrote:
> device model for xilinx XPS SPI controller (v2.0)
>
> Signed-off-by: Peter A. G. Crosthwaite
> ---
> changed from v2:
> converted spi api to ssi api
> changed from v1:
> converted spi api to modified txrx style
>
> Makefile.target | 1 +
On 20 April 2012 03:12, Peter A. G. Crosthwaite
wrote:
> Subject: [PATCH v3 2/4] m25p80: initial verion
> Added device model for m25p80 SPI flash
This commit message could be improved; I'd suggest a summary line of
"m25p80: Initial implementation of SPI flash device"
>
> Signed-off-by: Peter A
The TCG translation for the ARM setend instruction for user level binaries
is empty. A binary which just prints "hello world" but inverts the
endianness to big endian at the beginning of main gives a segmentation
fault on native ARM but prints out hello world on qemu-arm.
So does QEMU continue und
uhci_reset() clears irq mask and irq status registers, but doesn't
update the irq line. Which may result in suspious IRQs after uhci
reset. Fix it.
Signed-off-by: Gerd Hoffmann
---
hw/usb/hcd-uhci.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/hw/usb/hcd-uhci.c b/hw
Am 24.04.2012 17:19, schrieb Eric Blake:
> On 04/24/2012 09:16 AM, Kevin Wolf wrote:
>> Am 24.04.2012 16:38, schrieb Kevin Wolf:
>>> This test case manages to let qcow2 abort because its cache is used up
>>> and it can't find free cache entries for new requests any more.
>>>
>>> Signed-off-by: Kevi
virtio has the equivalent of:
if (vq->last_avail_index != vring_avail_idx(vq)) {
read descriptor head at vq->last_avail_index;
}
In theory, processor can reorder descriptor head
read to happen speculatively before the index read.
this would trigger the following ra
Am 24.04.2012 18:36, schrieb Michael Roth:
> On Tue, Apr 24, 2012 at 11:33:35AM +0200, Andreas Färber wrote:
>> Signed-off-by: Andreas Färber
>> ---
>> target-i386/cpu.c | 14 +-
>> 1 files changed, 13 insertions(+), 1 deletions(-)
>>
>> diff --git a/target-i386/cpu.c b/target-i386/
Add mmubooke_dump_mmu().
TODO: Add printing of individual flags.
Signed-off-by: François Revol
---
target-ppc/helper.c | 49 +
1 file changed, 49 insertions(+)
diff --git a/target-ppc/helper.c b/target-ppc/helper.c
index c610ce3..c998efc 100644
This patch adds a function which creates unique serial numbers for usb
devices and puts it into use. Windows guests tend to become unhappy if
they find two identical usb devices in the system. Effects range from
non-functional devices (with yellow exclamation mark in device manager)
to BSODs. Ha
usb-host assumes the first iovec element is always valid.
In case of a zero-length packet this isn't true though.
Signed-off-by: Gerd Hoffmann
---
hw/usb/host-linux.c |6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/hw/usb/host-linux.c b/hw/usb/host-linux.c
index 061
On 20 April 2012 03:12, Peter A. G. Crosthwaite
wrote:
> Added support for multiple devices attached to a single SSI bus (Previously
> SSI masters with multiple slaves were emulated as multiple point to point SSI
> busses)
> static struct BusInfo ssi_bus_info = {
> .name = "SSI",
> .size
On Tue, Apr 24, 2012 at 11:33:35AM +0200, Andreas Färber wrote:
> Signed-off-by: Andreas Färber
> ---
> target-i386/cpu.c | 14 +-
> 1 files changed, 13 insertions(+), 1 deletions(-)
>
> diff --git a/target-i386/cpu.c b/target-i386/cpu.c
> index 9479717..643289f 100644
> --- a/targ
On 24/04/2012 18:22, François Revol wrote:
> The following patch adds some support for dumping the TLBs of type
> TLB_EMB, at least enough to see the mappings.
> I wasn't sure how to deal with the flags anyway, it seems to me the
> struct lacks some stuff needed for system emulation, so it will pro
From: Lai Jiangshan
use & instead of the wrong &&
Signed-off-by: Lai Jiangshan
Signed-off-by: Gerd Hoffmann
---
hw/usb/hcd-xhci.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/hw/usb/hcd-xhci.c b/hw/usb/hcd-xhci.c
index fd13bba..5cf1a64 100644
--- a/hw/usb/hcd-xhci
From: Hans de Goede
Without this disconnected devices look like the last redirected device
in the monitor in "info usb".
Signed-off-by: Hans de Goede
Signed-off-by: Gerd Hoffmann
---
hw/usb/redirect.c |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/hw/usb/redirect.c
Il 24/04/2012 18:21, Michael S. Tsirkin ha scritto:
>
> +#define smp_rmb() smp_mb()
> +
> #elif defined(__x86_64__)
>
This #define seems spurious, but I may be reading the patch wrong.
Paolo
From: Hans de Goede
We clear our pending async urb list on device disconnect and we may still
receive "packet complete" packets from our peer after this, which will then
refer to packet ids no longer in our list.
Signed-off-by: Hans de Goede
Signed-off-by: Gerd Hoffmann
---
hw/usb/redirect.c
The following patch adds some support for dumping the TLBs of type
TLB_EMB, at least enough to see the mappings.
I wasn't sure how to deal with the flags anyway, it seems to me the
struct lacks some stuff needed for system emulation, so it will probably
need some revamping for the new target I'm ad
virtio has the equivalent of:
if (vq->last_avail_index != vring_avail_idx(vq)) {
read descriptor head at vq->last_avail_index;
}
In theory, processor can reorder descriptor head
read to happen speculatively before the index read.
this would trigger the following ra
This fixes an issue dual to the one fixed by
patch 'virtio: add missing mb() on notification'
and applies on top.
In this case, to enable vq kick to exit to host,
qemu writes out used flag then reads the
avail index. if these are reordered we get a race:
host avail index read: ring is empty
During normal operation, virtio first writes a used index
and then checks whether it should interrupt the guest
by reading guest avail index/flag values.
Guest does the reverse: writes the index/flag,
then checks the used ring.
The ordering is important: if host avail flag read bypasses the used
This is a follow-up to my previous patch: it turns
out that a single mb() isn't sufficient as network
loss could still be triggered under stress.
Changes from v3:
Make smp_rmb() with a compiler barrier on x86: reported by paolo.
Changes from v2:
Fix up GCC detection: reported by malc.
Fix barrier
Add a timeout handler. In case bulk transfers take too long to finish
the request will be canceled. The timeout is tunable via property, by
default it is 5 seconds.
Signed-off-by: Gerd Hoffmann
---
hw/usb/host-linux.c | 27 +++
trace-events|1 +
2 files ch
On 24 April 2012 05:19, Evgeny Voevodin wrote:
> New IRQ gate consists of n_in input qdev gpio lines and one
> output sysbus IRQ line. The output IRQ level is formed as OR
> between all gpio inputs.
>
> Signed-off-by: Evgeny Voevodin
Reviewed-by: Peter Maydell
Not convinced it's worth putting
Il 24/04/2012 18:08, Michael S. Tsirkin ha scritto:
> On Tue, Apr 24, 2012 at 05:40:07PM +0200, Paolo Bonzini wrote:
>> I would be grateful if, instead of fixing the qemu-barrier.h parts of
>> the patches, you picked up the (sole) patch in the atomics branch of
>> git://github.com/bonzi
Signed-off-by: Gerd Hoffmann
---
hw/usb/core.c |1 +
hw/usb/hcd-ehci.c |1 +
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/hw/usb/core.c b/hw/usb/core.c
index 9a14a53..0e02da7 100644
--- a/hw/usb/core.c
+++ b/hw/usb/core.c
@@ -501,6 +501,7 @@ void usb_packet_set_state
usb-host optimizes away zero-length packets by not entering the
processing loop at all. Which isn't correct, we should submit a
zero-length urb to the host devicein that case. This patch makes
sure we run the processing loop at least once.
Signed-off-by: Gerd Hoffmann
---
hw/usb/host-linux.c |
From: Hans de Goede
frindex is a 14 bits counter, so bits 31-14 should always be 0, and
after the commit titled "usb-ehci: frindex always is a 14 bits counter"
we rely on frindex always being a multiple of 8. I've not seen this in
practice, but theoretically a guest can write a value >= 0x4000 or
Here it is
qemu -vga qxl -device qxl -global qxl-vga.vram_size=33554432 -device
virtio-serial -chardev spicevmc,id=vdagent,debug=0,name=vdagent -device
virtserialport,chardev=vdagent,name=com.redhat.spice.0 -spice
port=$SPICE_PORT,image-compression=off,disable-ticketing -enable-kvm -m
1024 -net ni
On Tue, Apr 24, 2012 at 05:40:07PM +0200, Paolo Bonzini wrote:
> I would be grateful if, instead of fixing the qemu-barrier.h parts of
> the patches, you picked up the (sole) patch in the atomics branch of
> git://github.com/bonzini/qemu.git. The constructs there are more
> com
On 20 April 2012 18:39, Andreas Färber wrote:
> This mini-series redoes your drop-reset-model-init patch 14/14 v2.
> I've investigated doing it this way for sh4 and plan to adjust all targets.
Both patches
Reviewed-by: Peter Maydell
and I've put them into target-arm.next; I'll do a pullreq
at t
1 - 100 of 247 matches
Mail list logo