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
makes sense
Acked-by: Christian Borntraeger
> ---
> hw/s390x/Makefile.objs |2 --
> hw/{ => s390x}/s390-virtio-bus.c |8 ---
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 type-specif
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 tap,id=macvtap_n
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
> L: qemu-...@nongnu.org
> S: Maintained
> -F: hw/ppc_newworld.c
> -F: hw/unin_pci.c
> -F: hw/
> >> 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' exa
From: Kuo-Jung Su
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 capability
and is in full
From: Kuo-Jung Su
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 eight configurable
channels
From: Kuo-Jung Su
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 host connectivity.
Farada
From: Kuo-Jung Su
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 is the only channel start
From: Kuo-Jung Su
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, FTWDT010 will try to reset
th
From: Kuo-Jung Su
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.
Signed-off-by: Kuo-Jung Su
---
hw/f
From: Kuo-Jung Su
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 the embedded or
external k
Eric Blake 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 c
From: Kuo-Jung Su
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
---
hw/fti2c010.c | 205 +
From: Kuo-Jung Su
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 ECC information will be
aut
From: Kuo-Jung Su
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 Digital Assistants (PDAs),
From: Kuo-Jung Su
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 Motorola
Serial Peripheral
From: Kuo-Jung Su
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 edge-rising/falling triggered.
From: Kuo-Jung Su
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 initialization
and then lo
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 virtio-net-pci,netdev=macvtap_netdev,mac
From: Kuo-Jung Su
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 match registers equals an
Philipp Hahn 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 = sscanf(p, "
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 virtio-net-pci,netdev=macvtap_netdev
Laszlo Ersek 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 virtio-net
Am 25.01.2013 09:19, schrieb Kuo-Jung Su:
> From: Kuo-Jung Su
>
> 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 t
From: Kuo-Jung Su
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 capability
and full compliance
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 exp
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 ac
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
From: Kuo-Jung Su
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,
Isochronous/Interrupt/Control/Bulk transf
From: Kuo-Jung Su
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 counting. This mechanism
From: Kuo-Jung Su
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 used to trigger DMA transfe
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
> Reported-by: Stefan Hajnoczi
> Signed-off-by: Paolo Bonzini
> ---
> Makefile | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --g
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 wel
From: Kuo-Jung Su
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 8-channel analog
input via
于 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. Instea
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
From: Kuo-Jung Su
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.
http://www.faraday-tech.com/html/documentation/index.html
The pre-built image
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 s
Am 25.01.2013 09:19, schrieb Kuo-Jung Su:
> From: Kuo-Jung Su
>
> 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,
Tim Hardeck 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.
>
> you
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 use
在 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
> > gc
于 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 mean
From: Kuo-Jung Su
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 provides the PIO mode or DMA
mod
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. Therefor
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
---
ui/vnc-ws.c | 11 ++-
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/ui/vnc-ws.
Am 25.01.2013 08:16, schrieb Kuo-Jung Su:
> From: Kuo-Jung Su
>
> 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 hw/wm8750.c wi
> > 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 s
Am 24.01.2013 10:03, schrieb Andreas Färber:
> Signed-off-by: Andreas Färber
> ---
> 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
> Reported-by: Stefan Hajnoczi
> Signed-off-by: Paolo Bonzini
> ---
> Makefile | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
Reviewed-by: Mich
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
> ---
> vl.c | 476
> +--
> 1 f
Am 25.01.2013 um 10:47 schrieb Andreas Färber :
> 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
>> ---
>> vl.c | 476
>> ++
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.
>
>
Am 25.01.2013 10:56, schrieb Alexander Graf:
>
> Am 25.01.2013 um 10:47 schrieb Andreas Färber :
>
>> 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: Jess
On (Mon) 14 Jan 2013 [09:58:30], Luiz Capitulino wrote:
> On Sat, 12 Jan 2013 02:02:32 +0530
> Amit Shah 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 host a
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 alt
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 t
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
On 25 January 2013 07:18, Kuo-Jung Su wrote:
> From: Kuo-Jung Su
>
> 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, FA626TE, FA616TE, FA726TE)
>
> Al
On 25 January 2013 00:18, Alexander Graf 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
hw/$arch/ ?
--
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 _i
On 24 January 2013 09:03, Andreas Färber 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 all the arch-s
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
intr
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
---
hw/cadence_gem.c|9 +++--
hw/dp8393x.c|9 +++
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 be
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 multique
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
---
hw/virtio.c |9 +
hw/virtio.h |2 ++
2 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/hw/virtio.c b/hw/virti
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 in
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
---
hw/virtio-net.c | 35 +
Disable multiqueue support for pre 1.4.
Signed-off-by: Jason Wang
---
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 @@ static QEMUMachine p
Am 25.01.2013 um 11:40 schrieb Peter Maydell :
> On 25 January 2013 00:18, Alexander Graf 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 f
Am 25.01.2013 um 11:43 schrieb Peter Maydell :
> On 24 January 2013 09:03, Andreas Färber 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
On Sat, Jan 19, 2013 at 10:04 PM, MORITA Kazutaka
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 libvirt
> doesn't supp
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
---
hw/virtio-net.c | 317 +++
hw/virtio-net
Il 25/01/2013 11:40, Peter Maydell ha scritto:
> On 25 January 2013 00:18, Alexander Graf 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
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
---
include/net/net
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
>> ---
>> hw/cuda.c |2 +-
>> hw/grackle_pci.c |2 +-
>> hw/heathrow_pic.c |2
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
On 23.01.2013, at 11:01, Andreas Färber wrote:
> Signed-off-by: Andreas Färber
> ---
> include/sysemu/qtest.h |2 ++
> qtest.c| 26 ++
> stubs/Makefile.objs|1 +
> stubs/qtest.c | 12
> tests/libqtest.c | 21 ++
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
---
net/tap.c | 130 ++---
1 files changed, 73 insertions(+), 57 deletions
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 baf0b55a9e57b909b1f8b0f732c0b1024286
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
---
net/net.c | 29 +++--
1 files changed, 19 in
On Thu, Jan 24, 2013 at 11:46:28AM +0100, Peter Lieven wrote:
>
> Am 24.01.2013 um 11:41 schrieb Andreas Färber :
>
> > Am 24.01.2013 11:32, schrieb Markus Armbruster:
> >> Peter Lieven writes:
> >>
> >>> Latest git doesn't compile with this patch:
> >>>
> >>> hw/fw_cfg.c: In function 'fw_cfg_
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
---
hw/virtio.c |8
hw/virtio.h |1 +
2 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/hw/virtio.c b/hw/virtio.c
index d8c77b0..e25
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 is
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 i
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
---
hw/virtio-net.c | 195
Am 25.01.2013 12:47, schrieb Paolo Bonzini:
> This is now unused.
>
> Signed-off-by: Paolo Bonzini
> ---
> include/qom/object.h | 17 ++---
> qom/object.c | 7 ---
> 2 files changed, 2 insertions(+), 22 deletions(-)
>
> diff --git a/include/qom/object.h b/include/qom/ob
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
IFF_DETACH_
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 on
Am 25.01.2013 12:46, schrieb Paolo Bonzini:
> Move the common part to qbus_realize.
>
> Signed-off-by: Paolo Bonzini
Acked-by: Andreas Färber
Thanks,
Andreas
--
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nür
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
---
linux-user/syscall.c| 2 +-
target-i386/helper.c| 4 ++--
target-ppc/translate_init.c | 2 +-
target-sparc/cpu.c | 2 +-
4
Move the common part to qbus_realize.
Signed-off-by: Paolo Bonzini
---
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 @@ DeviceState *qdev_fin
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
> ---
> hw/pci/pci.c | 21 +++--
> 1 file changed, 15 insertions(+),
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
---
include/net/net.h |2 ++
net/net.c | 17 ++
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
Thought I had already added
Acked-by: Andreas Färber
Andreas
> ---
> qom/object.c |
1 - 100 of 350 matches
Mail list logo