On 25/01/13 01:18, Alexander Graf wrote:
This moves all files only used by s390 system emulation to hw/s390x.
Signed-off-by: Alexander Graf ag...@suse.de
makes sense
Acked-by: Christian Borntraeger borntrae...@de.ibm.com
---
hw/s390x/Makefile.objs |2 --
hw/{ =
It is not being used in hot paths and is obsoleted by I2C_SLAVE()
QOM cast macro. Clean it up using a scripted conversion, so that it
doesn't get used in new code.
Some of its callers were combining it with FROM_I2C_SLAVE() macro, which
is equally obsolete but needs to be replaced in a
FD_SET() and FD_CLR() are used to add and remove one descriptor from a
set, the 'fd' should be less than FD_SETSIZE. Glibc will give a warning
and crash the qemu when we set a fd (1024) to a set.
# qemu -device virtio-net-pci,netdev=macvtap_netdev,mac=92:ff:8a:11:fe:57
-netdev
Am 25.01.2013 02:12, schrieb Alexander Graf:
diff --git a/MAINTAINERS b/MAINTAINERS
index 35c260d..3664dc8 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
[...]
New World
M: Alexander Graf ag...@suse.de
L: qemu-...@nongnu.org
S: Maintained
-F: hw/ppc_newworld.c
-F: hw/unin_pci.c
-F:
Thanks for declaration, one more question:
3) will have a big image file, will you back up it or just leave it
there, not backup for internal snapshot?
Sorry, I do not understand that question. Why will I have a 'a big
image file', and what do you mean by 'backup' exactly?
To
From: Kuo-Jung Su dant...@faraday-tech.com
The FTMAC110 is a high quality 10/100 Ethernet controller with DMA function.
It includes an AHB wrapper, DMA engine, on-chip memories (TX FIFO and RX
FIFO), MAC, and MII or RMII interface.
The FTMAC110 is an Ethernet controller that provides AHB master
From: Kuo-Jung Su dant...@faraday-tech.com
The Faraday FTDMAC020 is designed to enhance the system performance
and reduce the processor-interrupt generation. The system efficiency
is improved by employing the high-speed data transfers between the
system and device. The DMA controller provides
From: Kuo-Jung Su dant...@faraday-tech.com
The Faraday A360/A369 EVB is a Faraday platform main board used for the
Faraday IP functional verification based on the well-known ARM AMBA 2.0
architecture. This main board provides a fully verified microprocessor
platform, ATA-II, OTG 2.0 and USB 2.0
From: Kuo-Jung Su dant...@faraday-tech.com
The FTAPBBRG020 supports the DMA functions for the AHB-to-AHB,
AHB-to-APB, APB-to-AHB, and APB-to-APB transactions.
The DMA engine can support up to 4 DMA channels (A, B, C, and D)
and 15 handshaking channels. A DMA channel granted by the arbiter
block
From: Kuo-Jung Su dant...@faraday-tech.com
The FTWDT010 is used to prevent system from infinite loop
while software gets trapped in the deadlock.
Under the normal operation, users should restart FTWDT010
at the regular intervals before counter counts down to 0.
If the counter does reach 0,
From: Kuo-Jung Su dant...@faraday-tech.com
The FTSDC010 functions as the master in an SD memory card interface.
It controls the communication between the AHB/APB bus and the SD card.
Its core supports the SD bus of the SD/SDIO operations and the MMC bus
of the MMC operation as well.
From: Kuo-Jung Su dant...@faraday-tech.com
Faraday keyboard/mouse controller (FTKBC010) is compliant with the
IBM PS/2 interface. The interface uses the bidirectional clock and
data lines to perform the half-duplex synchronous serial interface.
It also provides the configurable scan matrix for
Eric Blake ebl...@redhat.com writes:
On 01/15/2013 03:24 AM, Wenchao Xia wrote:
+int bdrv_snapshot_find(BlockDriverState *bs, QEMUSnapshotInfo *sn_info,
+ const char *name)
+if (!strcmp(sn-id_str, name) || !strcmp(sn-name, name)) {
This code comparison
From: Kuo-Jung Su dant...@faraday-tech.com
The FTI2C010 allows the host processor to serve as a master or slave
in the I2C bus. Data are transmitted to and received from the I2C bus
via a buffered interface.
Signed-off-by: Kuo-Jung Su dant...@faraday-tech.com
---
hw/fti2c010.c | 205
From: Kuo-Jung Su dant...@faraday-tech.com
The FTNANDC021 NAND flash host controller allows the users to access
the NAND flash memory simply by reading or writing into the registers.
It provides the hardware-based NAND host controller so that data can
be transferred in the high speed mode. The
From: Kuo-Jung Su dant...@faraday-tech.com
The FTLCDC200 is an LCD controller that is compliant with the AMBA 2.0.
It is a reusable soft-IP block and provides all the necessary control
signals for a variety of TFT/CSTN/STN LCD panels. It was designed for
portable electronics, including Personal
From: Kuo-Jung Su dant...@faraday-tech.com
The FTSSP010 is a synchronous serial port interface that allows
the host processor to serve as a master or a slave. Various devices
can be connected to this controller by using the serial protocol.
It supports the TI Synchronous Serial Port (SSP), the
From: Kuo-Jung Su dant...@faraday-tech.com
The FTINTC020 interrupt controller supports both FIQ and IRQ signals
to the microprocessor.
It can handle up to 64 configurable IRQ sources and 64 FIQ sources.
The output signals to the microprocessor can be configured as
level-high/low active or
From: Kuo-Jung Su dant...@faraday-tech.com
Since the NAND and SPI flash memories do not support random access,
so most of the systems which use such memory as main storages
usually has some bootstrap code stored inside the embedded ROM of
its SoC, and the bootstrap code is responsible for SDRAM
On 01/25/13 09:14, Amos Kong wrote:
FD_SET() and FD_CLR() are used to add and remove one descriptor from a
set, the 'fd' should be less than FD_SETSIZE. Glibc will give a warning
and crash the qemu when we set a fd (1024) to a set.
# qemu -device
From: Kuo-Jung Su dant...@faraday-tech.com
The FTTMR010 provides three independent sets of sub-timers.
Each sub-timer can use either the internal system clock (PCLK)
or the external clock (EXTCLK) for clock counting.
Two match registers are provided for each sub-timer, whenever
the value of the
Philipp Hahn h...@univention.de writes:
Hello,
I tried to open a twoGbMaxExtentSparse VMDK file, which uses spaces in its
own and for the referenced file names. This breaks in line 646 of
block/vmdk.c because %511s stops at the first space and thus fname is
incomplete:
ret =
On 01/25/2013 04:14 PM, Amos Kong wrote:
FD_SET() and FD_CLR() are used to add and remove one descriptor from a
set, the 'fd' should be less than FD_SETSIZE. Glibc will give a warning
and crash the qemu when we set a fd (1024) to a set.
# qemu -device
Laszlo Ersek ler...@redhat.com writes:
On 01/25/13 09:14, Amos Kong wrote:
FD_SET() and FD_CLR() are used to add and remove one descriptor from a
set, the 'fd' should be less than FD_SETSIZE. Glibc will give a warning
and crash the qemu when we set a fd (1024) to a set.
# qemu -device
Am 25.01.2013 09:19, schrieb Kuo-Jung Su:
From: Kuo-Jung Su dant...@faraday-tech.com
Faraday FUSBH200 is a one-port host controller for USB 2.0,
which is fully compliant with the USB 2.0 specification and
the Enhanced Host Controller Interface (EHCI) specification.
This host controller
From: Kuo-Jung Su dant...@faraday-tech.com
The FTGMAC100 is a high-quality Ethernet controller with DMA function.
It includes the AHB wrapper, DMA engine, on-chip memories (TX FIFO
and RX FIFO), MAC, and MII/GMII interfaces.
The FTGMAC100 is an Ethernet controller that provides AHB master
Hi Markus,
thanks for your input.
On Wed, 2013-01-23 at 18:16 +0100, Markus Armbruster wrote:
Use appropriate types, drop superfluous casts, use sizeof, don't
exploit that this particular call of gnutls_fingerprint() doesn't
change its last argument.
your patch does work fine but if we
Il 24/01/2013 16:43, Peter Maydell ha scritto:
Round 5 of the QEMU patches to support KVM for
ARM on Cortex-A15 hardware. It's intended for use with
the kernel tree at
git://github.com/virtualopensystems/linux-kvm-arm.git kvm-arm-v17-vgic-timers
Still RFC pending the kernel patches
Hi,
+static uint64_t
+ehci_faraday_read(void *ptr, hwaddr addr, unsigned size)
+{
+hwaddr off = 0x34 + addr;
+
+switch (off) {
+case 0x34: /* fusbh200: EOF/Async. Sleep Timer Register */
+return 0x0041;
+case 0x40: /* fusbh200: Bus Monitor Control/Status
From: Kuo-Jung Su dant...@faraday-tech.com
Faraday FUSBH200 is a one-port host controller for USB 2.0,
which is fully compliant with the USB 2.0 specification and
the Enhanced Host Controller Interface (EHCI) specification.
This host controller supports the HS/FS/LS transactions,
From: Kuo-Jung Su dant...@faraday-tech.com
The FTRTC011 is a flexible, small-area, and low-power Real Time Clock (RTC).
It accepts two clock sources: APB bus clock (PCLK) and 32.768 kHz clock.
When the system enters the sleep mode, the PCLK clock will be gated by the
system while RTC will keep on
From: Kuo-Jung Su dant...@faraday-tech.com
The FTPWMTMR010 is an APB device which provides up to 8 independent timers.
Each timer can use either the internal system clock (The PCLK of APB) or
external clock.
These timers can be used to generate internal interrupts to the CPU.
They can also be
Il 15/01/2013 09:49, Paolo Bonzini ha scritto:
.lo files in stubs/, util/ and libcacard/ were not cleaned.
Fix this.
Cc: Blue Swirl blauwir...@gmail.com
Reported-by: Stefan Hajnoczi stefa...@redhat.com
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
---
Makefile | 6 +++---
1 file
Il 25/01/2013 06:25, liguang ha scritto:
remove *.lo files, they will bring errors during
build after a make clean, e.g.
make clean
make
lt LINK libcacard.la
gcc: stubs/.libs/arch-query-cpu-def.o: No such file or directory
gcc: stubs/.libs/clock-warp.o: No such file or directory
gcc:
Il 19/01/2013 11:06, Paolo Bonzini ha scritto:
This small series makes some more simplifications to Makefile.objs,
removing two more variables: universal-obj-y and extra-obj-y, all
unified into common-obj-y. It also removes what remains of user-obj-y,
unifying that into common-obj-y as well.
From: Kuo-Jung Su dant...@faraday-tech.com
The FTTSC010 provides controlling signals to handle ADC conversion
and panel driver. The control signal is base on Faraday 12-bit ADC
IP of FXADC140HC0H_TPANEL, which is a 12-bit SAR ADC with 8-to-1
multiplexer, IPGA and panel driver. The ADC provides
于 2013-1-24 17:47, Stefan Hajnoczi 写道:
Case 3:
* What does blank data mean? Besides that the use case
makes sense.
Will remove the words.
* When discussing this use case in the past it was suggested that the
guest doesn't need to be paused during the LVM snapshot. Instead
On Thu, Jan 24, 2013 at 05:29:27PM +0100, Philipp Hahn wrote:
Hello,
I tried to open a twoGbMaxExtentSparse VMDK file, which uses spaces in its
own and for the referenced file names. This breaks in line 646 of
block/vmdk.c because %511s stops at the first space and thus fname is
Il 21/01/2013 13:30, Paolo Bonzini ha scritto:
This series makes the ref_count field of device and bus objects actually
match the number of references that the objects have. Once this is
done, the question how do I delete an object? has a simple answer:
use object_unparent if the object is
From: Kuo-Jung Su dant...@faraday-tech.com
These patches introduce Faraday A36x SoC platform support.
Faraday provides ARMv4/ARMv5TE compatible solutions,
and focus on ASIC design service.
Here are some public documents for you reference.
Am 25.01.2013 10:10, schrieb Paolo Bonzini:
Il 21/01/2013 13:30, Paolo Bonzini ha scritto:
This series makes the ref_count field of device and bus objects actually
match the number of references that the objects have. Once this is
done, the question how do I delete an object? has a simple
Am 25.01.2013 09:19, schrieb Kuo-Jung Su:
From: Kuo-Jung Su dant...@faraday-tech.com
The Faraday A360/A369 EVB is a Faraday platform main board used for the
Faraday IP functional verification based on the well-known ARM AMBA 2.0
architecture. This main board provides a fully verified
Tim Hardeck thard...@suse.de writes:
Hi Markus,
thanks for your input.
On Wed, 2013-01-23 at 18:16 +0100, Markus Armbruster wrote:
Use appropriate types, drop superfluous casts, use sizeof, don't
exploit that this particular call of gnutls_fingerprint() doesn't
change its last argument.
Am 25.01.2013 10:11, schrieb Paolo Bonzini:
Il 19/01/2013 11:06, Paolo Bonzini ha scritto:
This small series makes some more simplifications to Makefile.objs,
removing two more variables: universal-obj-y and extra-obj-y, all
unified into common-obj-y. It also removes what remains of
在 2013-01-25五的 10:10 +0100,Paolo Bonzini写道:
Il 25/01/2013 06:25, liguang ha scritto:
remove *.lo files, they will bring errors during
build after a make clean, e.g.
make clean
make
lt LINK libcacard.la
gcc: stubs/.libs/arch-query-cpu-def.o: No such file or directory
gcc:
于 2013-1-25 16:19, Dietmar Maurer 写道:
Thanks for declaration, one more question:
3) will have a big image file, will you back up it or just leave it
there, not backup for internal snapshot?
Sorry, I do not understand that question. Why will I have a 'a big
image file', and what do you
From: Kuo-Jung Su dant...@faraday-tech.com
The FTSPI020 is primariy designed for high-speed spi flash support.
It supports double data rate and fast-read dual/quad for spi flash.
It use one AHB slave port and one SPI interface controller to execute
the SPI Flash command. Moreover, it also
On Thu, Jan 24, 2013 at 10:00:40AM -0800, Vishvananda Ishaya wrote:
The qmp monitor command to mirror a disk was passing -1 for size
along with the disk's backing file. This size of the resulting disk
is the size of the backing file, which is incorrect if the disk
has been resized. Therefore
Use appropriate types, drop superfluous casts, use sizeof, don't
exploit that this particular call of gnutls_fingerprint() doesn't
change its last argument.
Signed-off-by: Markus Armbruster arm...@redhat.com
---
ui/vnc-ws.c | 11 ++-
1 file changed, 6 insertions(+), 5 deletions(-)
diff
Am 25.01.2013 08:16, schrieb Kuo-Jung Su:
From: Kuo-Jung Su dant...@faraday-tech.com
Wolfson WM8731 is a simple audio codec for embedded systems.
It has 2 input and 1 output ports:
** Input **
1. Linue-In
2. Microphone
** Output **
1. Headphone out
BTW it's based on
Note: The proposed backup patches (already sent to the list) make
backups without creating internal/external snapshot. Consistency is
guaranteed by using COW.
I guess this can be implemented, or may already exist in 3rd party
components, such as LVM2.
We used LVM to provide snapshots
Am 24.01.2013 10:03, schrieb Andreas Färber:
Signed-off-by: Andreas Färber afaer...@suse.de
---
hw/cuda.c |2 +-
hw/grackle_pci.c |2 +-
hw/heathrow_pic.c |2 +-
hw/ide/macio.c
Am 24.01.2013 19:00, schrieb Vishvananda Ishaya:
The qmp monitor command to mirror a disk was passing -1 for size
along with the disk's backing file. This size of the resulting disk
is the size of the backing file, which is incorrect if the disk
has been resized. Therefore we should always
On 15.01.2013 09:49, Paolo Bonzini wrote:
.lo files in stubs/, util/ and libcacard/ were not cleaned.
Fix this.
Cc: Blue Swirl blauwir...@gmail.com
Reported-by: Stefan Hajnoczi stefa...@redhat.com
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
---
Makefile | 6 +++---
1 file changed,
Hi,
Am 25.01.2013 00:04, schrieb Jesse Larrew:
Reformat the option parsing code in main() and various supporting functions
to conform to the QEMU coding style.
Signed-off-by: Jesse Larrew jlar...@linux.vnet.ibm.com
---
vl.c | 476
Am 25.01.2013 um 10:47 schrieb Andreas Färber afaer...@suse.de:
Hi,
Am 25.01.2013 00:04, schrieb Jesse Larrew:
Reformat the option parsing code in main() and various supporting functions
to conform to the QEMU coding style.
Signed-off-by: Jesse Larrew jlar...@linux.vnet.ibm.com
---
Il 25/01/2013 10:23, Andreas Färber ha scritto:
As far as I understood, Andreas did not have any objections on the
contents of this patch, which doesn't make things any better or worse
from his point of view.
I didn't receive a patch to fix cpu.c yet so I'll do that on my own.
Paolo,
Am 25.01.2013 10:56, schrieb Alexander Graf:
Am 25.01.2013 um 10:47 schrieb Andreas Färber afaer...@suse.de:
Am 25.01.2013 00:04, schrieb Jesse Larrew:
Reformat the option parsing code in main() and various supporting functions
to conform to the QEMU coding style.
Signed-off-by: Jesse
On (Mon) 14 Jan 2013 [09:58:30], Luiz Capitulino wrote:
On Sat, 12 Jan 2013 02:02:32 +0530
Amit Shah amit.s...@redhat.com wrote:
Hi Luiz,
On (Tue) 18 Dec 2012 [18:16:55], Luiz Capitulino wrote:
The auto-ballooning feature automatically performs balloon inflate
or deflate based on
Il 25/01/2013 10:21, Andreas Färber ha scritto:
Ping.
I believe I was still waiting for an explanation why this qbus_init()
function must be exposed rather than one _new() and one _initialize()
function... Not getting feedback on that, I was already considering
sending you an alternative
Am 25.01.2013 11:08, schrieb Paolo Bonzini:
Il 25/01/2013 10:23, Andreas Färber ha scritto:
As far as I understood, Andreas did not have any objections on the
contents of this patch, which doesn't make things any better or worse
from his point of view.
I didn't receive a patch to fix cpu.c
Am 25.01.2013 11:25, schrieb Paolo Bonzini:
Il 25/01/2013 10:21, Andreas Färber ha scritto:
Ping.
I believe I was still waiting for an explanation why this qbus_init()
function must be exposed rather than one _new() and one _initialize()
function... Not getting feedback on that, I was
On 25 January 2013 07:18, Kuo-Jung Su dant...@gmail.com wrote:
From: Kuo-Jung Su dant...@faraday-tech.com
Faraday processors are a series of ARMv4/ARMv5TE clone.
* ARMv4 series (FA526, FA626).
All of them are now out-of-date, so I have no plan for them.
* ARMv5TE series (FA606TE,
On 25 January 2013 00:18, Alexander Graf ag...@suse.de wrote:
This moves all files only used by s390 system emulation to hw/s390x.
This only makes sense if our plan is to rearrange the hw/
source files for all targets -- are we going to?
Do files for arch-specific kvm devices go in hw/kvm/ or
Il 25/01/2013 11:33, Andreas Färber ha scritto:
Am 25.01.2013 11:25, schrieb Paolo Bonzini:
Il 25/01/2013 10:21, Andreas Färber ha scritto:
Ping.
I believe I was still waiting for an explanation why this qbus_init()
function must be exposed rather than one _new() and one _initialize()
On 24 January 2013 09:03, Andreas Färber afaer...@suse.de wrote:
[PATCH for-1.4 v4 01/12] ppc: Move Mac machines to hw/ppc/
...so why is a big code movement patch 1.4 material?
I would prefer us to wait for 1.5, and then we have a
reasonable chance of saying release goal for 1.5 is to
have moved
Hello all:
This seires is an update of last version of multiqueue virtio-net support.
This series tries to brings multiqueue support to virtio-net through a
multiqueue support tap backend and multiple vhost threads.
To support this, multiqueue nic support were added to qemu. This is done by
To support multiqueue, the patch introduce a helper qemu_get_queue()
which is used to get the NetClientState of a device. The following patches would
refactor this helper to support multiqueue.
Signed-off-by: Jason Wang jasow...@redhat.com
---
hw/cadence_gem.c|9 +++--
hw/dp8393x.c
This patch adds basic multiqueue support for qemu. The idea is simple, an array
of NetClientStates were introduced in NICState, parse_netdev() were extended to
find and match all NetClientStates belongs to the backend and place their
pointers in NICConf. Then qemu_new_nic can setup a N:N mapping
Recently, linux support multiqueue tap which could let userspace call TUNSETIFF
for a signle device many times to create multiple file descriptors as
independent queues. User could also enable/disabe a specific queue through
TUNSETQUEUE.
The patch adds the generic infrastructure to create
Some device (such as virtio-net) needs the ability to destroy or re-order the
virtqueues, this patch adds a helper to do this.
Signed-off-by: Jason Wang jasowang
---
hw/virtio.c |9 +
hw/virtio.h |2 ++
2 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/hw/virtio.c
This patch lets vhost support multiqueue. The idea is simple, just launching
multiple threads of vhost and let each of vhost thread processing a subset of
the virtqueues of the device. After this change each emulated device can have
multiple vhost threads as its backend.
To do this, a virtqueue
This patch add migration support for multiqueue virtio-net. Instead of bumping
the version, we conditionally send the info of multiqueue only when the device
support more than one queue to maintain the backward compatibility.
Signed-off-by: Jason Wang jasow...@redhat.com
---
hw/virtio-net.c |
Disable multiqueue support for pre 1.4.
Signed-off-by: Jason Wang jasow...@redhat.com
---
hw/pc_piix.c |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/hw/pc_piix.c b/hw/pc_piix.c
index 0a6923d..7bc3563 100644
--- a/hw/pc_piix.c
+++ b/hw/pc_piix.c
@@ -297,6 +297,10 @@
Am 25.01.2013 um 11:40 schrieb Peter Maydell peter.mayd...@linaro.org:
On 25 January 2013 00:18, Alexander Graf ag...@suse.de wrote:
This moves all files only used by s390 system emulation to hw/s390x.
This only makes sense if our plan is to rearrange the hw/
source files for all targets
Am 25.01.2013 um 11:43 schrieb Peter Maydell peter.mayd...@linaro.org:
On 24 January 2013 09:03, Andreas Färber afaer...@suse.de wrote:
[PATCH for-1.4 v4 01/12] ppc: Move Mac machines to hw/ppc/
...so why is a big code movement patch 1.4 material?
I would prefer us to wait for 1.5, and
On Sat, Jan 19, 2013 at 10:04 PM, MORITA Kazutaka
morita.kazut...@gmail.com wrote:
[...]
If you do the above work, I think you can use your file system with
OpenStack.
But I suggest doing them step by step. If your file system is not
supported in QEMU, I think libvirt won't support it. If
This patch implements both userspace and vhost support for multiple queue
virtio-net (VIRTIO_NET_F_MQ). This is done by introducing an array of
VirtIONetQueue to VirtIONet.
Signed-off-by: Jason Wang jasow...@redhat.com
---
hw/virtio-net.c | 317
Il 25/01/2013 11:40, Peter Maydell ha scritto:
On 25 January 2013 00:18, Alexander Graf ag...@suse.de wrote:
This moves all files only used by s390 system emulation to hw/s390x.
This only makes sense if our plan is to rearrange the hw/
source files for all targets -- are we going to?
Do
In multiqueue, all NetClientState that belongs to the same netdev or nic has the
same id. So this patches introduces an helper qemu_find_net_clients_except()
which finds all NetClientState with the same id. This will be used by multiqueue
networking.
Signed-off-by: Jason Wang jasow...@redhat.com
On 25.01.2013, at 10:36, Andreas Färber wrote:
Am 24.01.2013 10:03, schrieb Andreas Färber:
Signed-off-by: Andreas Färber afaer...@suse.de
---
hw/cuda.c |2 +-
hw/grackle_pci.c |2 +-
hw/heathrow_pic.c |
On 25.01.2013, at 03:39, David Gibson wrote:
On Thu, Jan 24, 2013 at 05:32:42PM +0100, Alexander Graf wrote:
On 24.01.2013, at 04:20, David Gibson wrote:
There are currently a batch of occasionally used SPRs whose state we do
not synchronize with KVM. This might be a problem for
On 23.01.2013, at 11:01, Andreas Färber wrote:
Signed-off-by: Andreas Färber afaer...@suse.de
---
include/sysemu/qtest.h |2 ++
qtest.c| 26 ++
stubs/Makefile.objs|1 +
stubs/qtest.c | 12
tests/libqtest.c |
This patch factors out the common initialization of tap into a new helper
net_init_tap_one(). This will be used by multiqueue tap patches.
Signed-off-by: Jason Wang jasow...@redhat.com
---
net/tap.c | 130 ++---
1 files changed, 73
On 23.01.2013, at 10:24, Andreas Färber wrote:
s390_virtio_bus_find_mem() may return a NULL VirtIOS390Device.
If called with, e.g., args[0] == 0, this leads to a segfault.
Fix this by adding error handling as done for other hypercalls.
Present since baf0b55a9e57b909b1f8b0f732c0b10242867418
This patch separates the setup of NetClientState from its allocation, this will
allow allocating an arrays of NetClientState and does the initialization one by
one which is what multiqueue needs.
Signed-off-by: Jason Wang jasow...@redhat.com
---
net/net.c | 29 +++--
1
On Thu, Jan 24, 2013 at 11:46:28AM +0100, Peter Lieven wrote:
Am 24.01.2013 um 11:41 schrieb Andreas Färber afaer...@suse.de:
Am 24.01.2013 11:32, schrieb Markus Armbruster:
Peter Lieven p...@dlhnet.de writes:
Latest git doesn't compile with this patch:
hw/fw_cfg.c: In function
Add a queue_index to VirtQueue and a helper to fetch it, this could be used by
multiqueue supported device.
Signed-off-by: Jason Wang jasow...@redhat.com
---
hw/virtio.c |8
hw/virtio.h |1 +
2 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/hw/virtio.c
This patch add basic multiqueue support for Linux. When multiqueue is needed, we
will first check whether kernel support multiqueue tap before creating more
queues. Two new functions tap_fd_enable() and tap_fd_disable() were introduced
to enable and disable a specific queue. Since the multiqueue
This patch introduces a helper tap_get_ifname() to get the device name of tap
device. This is needed when ifname is unspecified in the command line and qemu
were asked to create tap device by itself. In this situation, the name were
allocated by kernel, so if multiqueue is asked, we need to fetch
To support multiqueue virtio-net, the first step is to separate the virtqueue
related fields from VirtIONet to a new structure VirtIONetQueue. The following
patches will add an array of VirtIONetQueue to VirtIONet based on this patch.
Signed-off-by: Jason Wang jasow...@redhat.com
---
Am 25.01.2013 12:47, schrieb Paolo Bonzini:
This is now unused.
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
---
include/qom/object.h | 17 ++---
qom/object.c | 7 ---
2 files changed, 2 insertions(+), 22 deletions(-)
diff --git a/include/qom/object.h
Import multiqueue constants from if_tun.h from 3.8-rc3. A new ifr flag
IFF_MULTI_QUEUE were introduced to create a multiqueue backend by calling
TUNSETIFF with the this flag and with the same interface name many times.
A new ioctl TUNSETQUEUE were introduced. When doing this ioctl with
This patch introduce a new bit - enabled in TAPState which tracks whether a
specific queue/fd is enabled. The tap/fd is enabled during initialization and
could be enabled/disabled by tap_enalbe() and tap_disable() which calls platform
specific helpers to do the real work. Polling of a tap fd can
Am 25.01.2013 12:46, schrieb Paolo Bonzini:
Move the common part to qbus_realize.
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
Acked-by: Andreas Färber afaer...@suse.de
Thanks,
Andreas
--
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild,
CPUs are never added to the composition tree, so delete is achieved
simply by removing the last references to them.
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
---
linux-user/syscall.c| 2 +-
target-i386/helper.c| 4 ++--
target-ppc/translate_init.c | 2 +-
Move the common part to qbus_realize.
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
---
hw/qdev.c | 18 +++---
1 file changed, 7 insertions(+), 11 deletions(-)
diff --git a/hw/qdev.c b/hw/qdev.c
index 9761016..59dce62 100644
--- a/hw/qdev.c
+++ b/hw/qdev.c
@@ -390,14 +390,16 @@
Am 25.01.2013 12:46, schrieb Paolo Bonzini:
Remove knowledge of QOM innards. The common part of pci_bus_new and
pci_bus_new_inplace is moved to a new function pci_bus_init.
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
---
hw/pci/pci.c | 21 +++--
1 file changed, 15
To allow allocating an array of NetClientState and free it once, this patch
introduces destructor of NetClientState. Which could do type specific free,
which could be used by multiqueue to free the array once.
Signed-off-by: Jason Wang jasow...@redhat.com
---
include/net/net.h |2 ++
Am 25.01.2013 12:46, schrieb Paolo Bonzini:
Avoid that the object disappears after it's deleted from the QOM
composition tree, in case that was the only reference to it.
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
Thought I had already added
Acked-by: Andreas Färber afaer...@suse.de
1 - 100 of 350 matches
Mail list logo