A new fsdev parameter "access" is introduced to control accessing 9p export.
access=ro|rw can be used to specify the access type. By default rw access
is given to 9p export.
Signed-off-by: M. Mohan Kumar
---
fsdev/file-op-9p.h |1 +
fsdev/qemu-fsdev.c | 17 +++-
Peter Maydell writes:
> Don't warn about the default network setup that you get if no command line
> -net options are specified. There are two cases that we would otherwise
> complain about:
>
> (1) board doesn't support a NIC but the implicit "-net nic" requested one
Maybe such board should de
Peter Maydell writes:
> Diagnose the case where the user asked for a NIC via "-net nic"
> but the board didn't instantiate that NIC (for example where the
> user asked for two NICs but the board only supports one). Note
> that this diagnostic doesn't apply to NICs created through -device,
> becau
Peter Maydell writes:
> This patchset reverts commit f68b9d672, which was triggering
> spuriously for NICs created via -device rather than -net nic.
> It then reimplements the improved diagnostics with a different
> approach which only applies to '-net nic'. (It's only -net nic
> devices that can
Jan Kiszka writes:
> Drop the open-coded MAC assignment from net_init_nic and replace it with
> standard qemu_macaddr_default_if_unset which is also used by qdev. That
> avoid creating colliding MACs when instantiating NICs via different
> mechanisms.
Should we explicitly mention that this may c
On Sun, May 22, 2011 at 02:29:27PM +0300, Avi Kivity wrote:
> On 05/22/2011 01:53 PM, Jan Kiszka wrote:
> >On 2011-05-22 10:41, Gleb Natapov wrote:
> >>> The chipset knows about the priorities. How to communicate them to
> >>> the core?
> >>>
> >>> - at runtime, with hierarchical dispatch of ->
On 23 May 2011 09:30, Markus Armbruster wrote:
> Peter Maydell writes:
>
>> Don't warn about the default network setup that you get if no command line
>> -net options are specified. There are two cases that we would otherwise
>> complain about:
>>
>> (1) board doesn't support a NIC but the impli
2011/5/22 Stefan Weil :
> Am 07.05.2011 22:15, schrieb Stefan Weil:
>>
>> cppcheck report:
>> rbd.c:246: style: Variable 'snap' is assigned a value that is never used
>>
>> Remove snap and the related code.
>>
>> Cc: Christian Brunner
>> Cc: Kevin Wolf
>> Signed-off-by: Stefan Weil
>> ---
>> block
The --disable-slirp option was undocumented; add it to configure's
--help output.
Signed-off-by: Peter Maydell
---
configure |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/configure b/configure
index d7dba5d..1f95ed7 100755
--- a/configure
+++ b/configure
@@ -964,6 +964
On Sat, May 21, 2011 at 1:35 PM, MORITA Kazutaka
wrote:
> +static int sd_prealloc(uint32_t vid, int64_t vdi_size)
> +{
> + int fd, ret;
> + SheepdogInode *inode;
> + char *buf;
> + unsigned long idx, max_idx;
[...]
> + max_idx = (vdi_size + SD_DATA_OBJ_SIZE - 1) / SD_DATA_OBJ_SIZE;
Jan Kiszka writes:
> Include the client type name into the output of 'info network'. The
> result looks like this:
>
> (qemu) info network
> VLAN 0 devices:
> rtl8139.0: type=nic,model=rtl8139,macaddr=52:54:00:12:34:57
> Devices not on any VLAN:
> virtio-net-pci.0: type=nic,model=virtio-net-p
On 2011-05-23 11:28, Markus Armbruster wrote:
> Jan Kiszka writes:
>
>> Include the client type name into the output of 'info network'. The
>> result looks like this:
>>
>> (qemu) info network
>> VLAN 0 devices:
>> rtl8139.0: type=nic,model=rtl8139,macaddr=52:54:00:12:34:57
>> Devices not on an
On 2011-05-23 10:43, Markus Armbruster wrote:
> Jan Kiszka writes:
>
>> Drop the open-coded MAC assignment from net_init_nic and replace it with
>> standard qemu_macaddr_default_if_unset which is also used by qdev. That
>> avoid creating colliding MACs when instantiating NICs via different
>> mec
From: Jan Vesely
UHCI host controller status register indicates error and
an interrupt is triggered on BABBLE and STALL errors.
Signed-off-by: Jan Vesely
Signed-off-by: Gerd Hoffmann
---
hw/usb-uhci.c |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/hw/usb-uhci.c b/
Hi,
Here is the usb patch queue, with EHCI support being the outstanding
new feature. Most patches are unmodified. Patch #5 got a better commit
message. The EHCI patch now lists all contributes in the commit message
too (they where listed in the source code only before), I hope everybody
is h
From: Brad Hards
All callers have been updated.
Signed-off-by: Brad Hards
Signed-off-by: Gerd Hoffmann
---
hw/usb-desc.c |5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/hw/usb-desc.c b/hw/usb-desc.c
index 62591f2..a784155 100644
--- a/hw/usb-desc.c
+++ b/hw/usb-de
From: Hans de Goede
This allows using the generic usb_generic_handle_packet function from
device code which does ASYNC control requests (such as the linux host
pass through code).
Signed-off-by: Hans de Goede
---
hw/bt-hid.c |6 +++---
hw/usb-bt.c |6 +++---
hw/usb-ccid.c |
From: Brad Hards
Previously we relied on the .bNumInterfaces, but that won't always be
accurate after the introduction of grouped interfaces.
Signed-off-by: Brad Hards
Signed-off-by: Gerd Hoffmann
---
hw/usb-hid.c|3 +++
hw/usb-hub.c|1 +
hw/usb-msd.c|2 ++
hw/usb-seri
Lookup async urbs which are to be canceled using the linked list
instead of the direct opaque pointer. There are two reasons we
are doing that: First, to avoid the opaque poiner to the callback,
which is needed for upcoming cleanups. Second, because we might
need multiple urbs per request for hi
From: Brad Hards
Signed-off-by: Brad Hards
Signed-off-by: Gerd Hoffmann
---
hw/usb.h |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/hw/usb.h b/hw/usb.h
index 7e46141..ca06bf8 100644
--- a/hw/usb.h
+++ b/hw/usb.h
@@ -124,6 +124,7 @@
#define USB_DT_ENDPOINT
Keep track of the device which owns the usb packet for async processing.
Signed-off-by: Gerd Hoffmann
---
hw/usb.c | 32
hw/usb.h | 18 +++---
2 files changed, 35 insertions(+), 15 deletions(-)
diff --git a/hw/usb.c b/hw/usb.c
index 966cb0f..8a9a
This patch adds code to track all async urbs in a linked list,
so we can find them without having to pass around a opaque
pointer to them. Prerequisite for the cleanups.
Signed-off-by: Gerd Hoffmann
---
usb-linux.c | 18 +++---
1 files changed, 11 insertions(+), 7 deletions(-)
di
From: Hans de Goede
Make the linux usb host passthrough code use the usb_generic_handle_packet()
function, rather then the curent DYI code. This removes 200 lines of almost
identical code.
Signed-off-by: Hans de Goede
---
hw/usb.c| 41 +-
hw/usb.h|1 +
usb-linux.c | 269
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.
Based on a patch from David Ahern, see
http://www.mail-archive.com/qemu-devel
Remove the cancel callback from the USBPacket struct, move it over
to USBDeviceInfo. Zap usb_defer_packet() which is obsolete now.
Signed-off-by: Gerd Hoffmann
---
hw/usb-msd.c |8 +++-
hw/usb.c |2 +-
hw/usb.h | 17 +
usb-linux.c |7 +++
4 files c
Calculate the max packet size correctly. Only bits 0..11 specify the size,
bits 11+12 specify the number of (highspeed) microframes the endpoint wants
to use.
Signed-off-by: Gerd Hoffmann
---
usb-linux.c | 19 +--
1 files changed, 17 insertions(+), 2 deletions(-)
diff --git a
The device path isn't just a number. It specifies the physical port
the device is connected to and in case the device is connected via
usb hub you'll have two numbers there, like this: "5.1". The first
specifies the root port where the hub is plugged into, the second
specifies the port number of
From: Brad Hards
This is used for some devices that have multiple interfaces that form a logic
device. An example is Video Class, which has a Control interface and a
Streaming interface. There can be additional interfaces on the same (physical)
devices (e.g. a microphone), and Interface Associati
On Fri, May 20, 2011 at 02:48:23PM -0400, Corey Bryant wrote:
> sVirt provides SELinux MAC isolation for Qemu guest processes and their
> corresponding resources (image files). sVirt provides this support
> by labeling guests and resources with security labels that are stored
> in file system exten
This patch adds a hostport property which allows to specify the host usb
devices to pass through by bus number and physical port. This means you
can basically hand over one (or more) of the usb plugs on your host to
the guest and whatever device is plugged in there will show up in the
guest.
Usag
usb_msd_copy_data() may cause a recursive call to
usb_msd_command_complete() which in turn may complete
the packet, setting s->packet to NULL in case it does.
Recheck s->packet before calling usb_packet_complete()
to fix the double call.
Signed-off-by: Gerd Hoffmann
---
hw/usb-msd.c |2 +-
1
On Fri, May 20, 2011 at 02:48:23PM -0400, Corey Bryant wrote:
> sVirt provides SELinux MAC isolation for Qemu guest processes and their
> corresponding resources (image files). sVirt provides this support
> by labeling guests and resources with security labels that are stored
> in file system exten
Add a usb_handle_packet function, put it into use everywhere.
Right now it just calls dev->info->handle_packet(), that will
change in future patches though.
Signed-off-by: Gerd Hoffmann
---
hw/usb-hub.c |2 +-
hw/usb-musb.c |2 +-
hw/usb-ohci.c |4 ++--
hw/usb-uhci.c |2 +-
hw/u
On Sun, May 22, 2011 at 8:58 AM, Andrew Kroll <786...@bugs.launchpad.net> wrote:
> Public bug reported:
>
> version 0.14.1 when using qcow2 images, after some time, glibc detects a
> double free or corruption.
Any specific information on what the guest was doing? Was it doing
heavy I/O or was it
On Mon, May 23, 2011 at 8:04 AM, Supriya Kannery wrote:
> On 05/20/2011 01:50 PM, Stefan Hajnoczi wrote:
>>
>> On Thu, May 19, 2011 at 10:38:03PM +0530, Supriya Kannery wrote:
>>>
>>> Monitor commands "hostcache_set" and "hostcache_get" added for dynamic
>>> host cache change and display of host c
On Mon, May 23, 2011 at 8:58 AM, M. Mohan Kumar wrote:
> A new fsdev parameter "access" is introduced to control accessing 9p export.
> access=ro|rw can be used to specify the access type. By default rw access
> is given to 9p export.
It would be consistent with -drive to use readonly=on|off (def
On Mon, May 23, 2011 at 10:01 AM, Christian Brunner wrote:
> 2011/5/22 Stefan Weil :
>> Am 07.05.2011 22:15, schrieb Stefan Weil:
>>>
>>> cppcheck report:
>>> rbd.c:246: style: Variable 'snap' is assigned a value that is never used
>>>
>>> Remove snap and the related code.
>>>
>>> Cc: Christian Br
Please send in any agenda items you are interested in covering.
Thanks, Juan.
On Mon, May 23, 2011 at 10:45 AM, Daniel P. Berrange
wrote:
> On Fri, May 20, 2011 at 02:48:23PM -0400, Corey Bryant wrote:
>> sVirt provides SELinux MAC isolation for Qemu guest processes and their
>> corresponding resources (image files). sVirt provides this support
>> by labeling guests and res
On 05/21/11 18:11, Nikolai Zhubr wrote:
Hello all,
is there some simple way to disable pci hotplug support in qemu-kvm (via
some command-line options or alike)?
Problem is, my guest windows xp is thinking that it could attempt to
remove Intel 82371SB, Cirrus Logic 5446, and other pci devices, a
Am 23.05.2011 11:01, schrieb Christian Brunner:
> 2011/5/22 Stefan Weil :
>> Am 07.05.2011 22:15, schrieb Stefan Weil:
>>>
>>> cppcheck report:
>>> rbd.c:246: style: Variable 'snap' is assigned a value that is never used
>>>
>>> Remove snap and the related code.
>>>
>>> Cc: Christian Brunner
>>> Cc
On Mon, May 23, 2011 at 11:19:15AM +0100, Stefan Hajnoczi wrote:
> On Mon, May 23, 2011 at 10:45 AM, Daniel P. Berrange
> wrote:
> > On Fri, May 20, 2011 at 02:48:23PM -0400, Corey Bryant wrote:
> >> sVirt provides SELinux MAC isolation for Qemu guest processes and their
> >> corresponding resourc
This does 2 things:
- use the correct way to get the size of a disk device or partition
(from h...@netbsd.org)
- if given a block device, use the character device instead.
(from bou...@netbsd.org)
From: Adam Hamsik
From: Manuel Bouyer
Signed-off-by: Christoph Egger
diff --git a/block
This does 2 things:
- use the correct way to get the size of a disk device or partition
(from h...@netbsd.org)
- if given a block device, use the character device instead.
(from bou...@netbsd.org)
From: Adam Hamsik
From: Manuel Bouyer
Signed-off-by: Christoph Egger
--
---to satisfy Europ
On Mon, May 23, 2011 at 01:57:57PM +0800, Jason Wang wrote:
> On 05/18/2011 04:54 PM, Michael S. Tsirkin wrote:
> >On Wed, May 18, 2011 at 01:57:37PM +0800, Jason Wang wrote:
> >>Current vm_running was not explicitly initialized and its value was changed
> >>by
> >>vm state notifier, this may conf
On Mon, May 23, 2011 at 12:34:39PM +0200, Christoph Egger wrote:
>
> This does 2 things:
> - use the correct way to get the size of a disk device or partition
> (from h...@netbsd.org)
> - if given a block device, use the character device instead.
> (from bou...@netbsd.org)
Please split tha
At Mon, 23 May 2011 10:19:13 +0100,
Stefan Hajnoczi wrote:
>
> On Sat, May 21, 2011 at 1:35 PM, MORITA Kazutaka
> wrote:
> > +static int sd_prealloc(uint32_t vid, int64_t vdi_size)
> > +{
> > + int fd, ret;
> > + SheepdogInode *inode;
> > + char *buf;
> > + unsigned long idx, max_idx;
On Monday 23 May 2011 19:26:45 daixiaoke wrote:
> 3.Compiled uClinux following steps in the attachment(Chapter 4: Building
> the uClinux image). “STM3210E-EVAL-jffs” was selected for "Porduct" while
> Configure uClinux for STM3210E-EVAL.
So you have built the images to install into a STM3210E board
On Mon, May 23, 2011 at 11:08:34AM +0100, Stefan Hajnoczi wrote:
> On Mon, May 23, 2011 at 8:58 AM, M. Mohan Kumar wrote:
> > A new fsdev parameter "access" is introduced to control accessing 9p export.
> > access=ro|rw can be used to specify the access type. By default rw access
> > is given to 9
LinkedIn
Paulo Cezar requested to add you as a connection on LinkedIn:
--
Jiajun,
I'd like to add you to my professional network on LinkedIn.
- Paulo
Accept invitation from Paulo Cezar
http://www.linkedin.com/e/-kkb1ec-go1e54ek-h/qTMmi8QEI_f3F
LinkedIn
Bug,
I'd like to add you to my professional network on LinkedIn.
- Paulo
Paulo Cezar
Platform Researcher and Developer at INdT
São Paulo Area, Brazil
Confirm that you know Paulo Cezar
https://www.linkedin.com/e/-g11m92-go1e59vx-23/isd/2968180228/v_gmfnNW/
--
(c)
if given a block device, use the character device instead.
From: Manuel Bouyer
Signed-off-by: Christoph Egger
diff --git a/block/raw-posix.c b/block/raw-posix.c
index 6b72470..d05f373 100644
--- a/block/raw-posix.c
+++ b/block/raw-posix.c
@@ -136,11 +143,45 @@ static int64_t raw_getlength(Blo
On 05/23/2011 04:45 AM, Daniel P. Berrange wrote:
On Fri, May 20, 2011 at 02:48:23PM -0400, Corey Bryant wrote:
sVirt provides SELinux MAC isolation for Qemu guest processes and their
corresponding resources (image files). sVirt provides this support
by labeling guests and resources with securit
Am 23.05.2011 12:00, schrieb Stefan Hajnoczi:
> On Mon, May 23, 2011 at 8:04 AM, Supriya Kannery wrote:
>> On 05/20/2011 01:50 PM, Stefan Hajnoczi wrote:
>>>
>>> On Thu, May 19, 2011 at 10:38:03PM +0530, Supriya Kannery wrote:
Monitor commands "hostcache_set" and "hostcache_get" added fo
On 05/23/2011 05:30 AM, Daniel P. Berrange wrote:
It feels to me that turning the current block driver code which just does
open(2) on files, into something which issues events& asynchronously
waits for a file would potentially be quite complex.
You also need to be much more careful from a secu
On Sun, May 22, 2011 at 10:52 AM, Dor Laor wrote:
> On 05/20/2011 03:19 PM, Stefan Hajnoczi wrote:
>>
>> I'm interested in what the API for snapshots would look like.
>> Specifically how does user software do the following:
>> 1. Create a snapshot
>> 2. Delete a snapshot
>> 3. List snapshots
>> 4.
On Fri, May 20, 2011 at 01:11:05PM -0500, Anthony Liguori wrote:
> On 05/20/2011 01:03 PM, Richard W.M. Jones wrote:
> >
> >There seem to be a few unsafe uses of strto* functions. This patch
> >just fixes the one that affects me :-)
>
> Sending an integer of this size is not valid JSON.
>
> Your
On Mon, May 23, 2011 at 07:50:12AM -0500, Anthony Liguori wrote:
> On 05/23/2011 04:45 AM, Daniel P. Berrange wrote:
> >On Fri, May 20, 2011 at 02:48:23PM -0400, Corey Bryant wrote:
> >>sVirt provides SELinux MAC isolation for Qemu guest processes and their
> >>corresponding resources (image files)
On 05/23/11 13:06, Christoph Hellwig wrote:
On Mon, May 23, 2011 at 12:34:39PM +0200, Christoph Egger wrote:
This does 2 things:
- use the correct way to get the size of a disk device or partition
(from h...@netbsd.org)
- if given a block device, use the character device instead.
(fro
On Mon, May 23, 2011 at 1:50 PM, Anthony Liguori wrote:
> On 05/23/2011 04:45 AM, Daniel P. Berrange wrote:
>>
>> On Fri, May 20, 2011 at 02:48:23PM -0400, Corey Bryant wrote:
>>>
>>> sVirt provides SELinux MAC isolation for Qemu guest processes and their
>>> corresponding resources (image files).
On Wed, May 18, 2011 at 05:23:42PM +0300, Alon Levy wrote:
Ping?
> Allow building standalone shared (or static, whichever libtool chooses)
> library out of libcacard sources, for use by ccid-card-passthru remote
> clients.
>
> v4: exit (return code 1) if libtool not found at any stage (for .lo
use the correct way to get the size of a disk device or partition
From: Adam Hamsik
Signed-off-by: Christoph Egger
diff --git a/block/raw-posix.c b/block/raw-posix.c
index 6b72470..d05f373 100644
--- a/block/raw-posix.c
+++ b/block/raw-posix.c
@@ -64,6 +64,13 @@
#include
#endif
+#ifdef __
Jan Kiszka writes:
> On 2011-05-23 11:28, Markus Armbruster wrote:
>> Jan Kiszka writes:
>>
>>> Include the client type name into the output of 'info network'. The
>>> result looks like this:
>>>
>>> (qemu) info network
>>> VLAN 0 devices:
>>> rtl8139.0: type=nic,model=rtl8139,macaddr=52:54:0
On Mon, May 23, 2011 at 12:49 PM, M. Mohan Kumar wrote:
> On Mon, May 23, 2011 at 11:08:34AM +0100, Stefan Hajnoczi wrote:
>> On Mon, May 23, 2011 at 8:58 AM, M. Mohan Kumar wrote:
>> > A new fsdev parameter "access" is introduced to control accessing 9p
>> > export.
>> > access=ro|rw can be use
On 05/23/2011 08:09 AM, Stefan Hajnoczi wrote:
On Mon, May 23, 2011 at 1:50 PM, Anthony Liguori wrote:
On 05/23/2011 04:45 AM, Daniel P. Berrange wrote:
On Fri, May 20, 2011 at 02:48:23PM -0400, Corey Bryant wrote:
sVirt provides SELinux MAC isolation for Qemu guest processes and their
corr
Fedora 14
- We have 101 open bugs, 5 of which have fixes in awaiting updates.
- 1 bug has been closed in the last week
Fedora 15
- Release tomorrow!
- We have 36 open bugs 2 of which have fixes in awaiting updates.
- 6 bugs have been closed in the last week
- GA images have been cleared for releas
On Mon, May 23, 2011 at 12:13 PM, MORITA Kazutaka
wrote:
> At Mon, 23 May 2011 10:19:13 +0100,
> Stefan Hajnoczi wrote:
>>
>> On Sat, May 21, 2011 at 1:35 PM, MORITA Kazutaka
>> wrote:
>> > +static int sd_prealloc(uint32_t vid, int64_t vdi_size)
>> > +{
>> > + int fd, ret;
>> > + SheepdogIn
On Mon, May 23, 2011 at 2:21 PM, Anthony Liguori wrote:
> On 05/23/2011 08:09 AM, Stefan Hajnoczi wrote:
>>
>> On Mon, May 23, 2011 at 1:50 PM, Anthony Liguori
>> wrote:
>>>
>>> On 05/23/2011 04:45 AM, Daniel P. Berrange wrote:
On Fri, May 20, 2011 at 02:48:23PM -0400, Corey Bryant wrot
On 05/23/2011 03:12 PM, Alon Levy wrote:
On Wed, May 18, 2011 at 05:23:42PM +0300, Alon Levy wrote:
Ping?
Allow building standalone shared (or static, whichever libtool chooses)
library out of libcacard sources, for use by ccid-card-passthru remote clients.
v4: exit (return code 1) if libtool
On 05/23/2011 08:04 AM, Daniel P. Berrange wrote:
On Fri, May 20, 2011 at 01:11:05PM -0500, Anthony Liguori wrote:
On 05/20/2011 01:03 PM, Richard W.M. Jones wrote:
There seem to be a few unsafe uses of strto* functions. This patch
just fixes the one that affects me :-)
Sending an integer o
Just refer everyone at this point the actual standard:
http://www.ietf.org/rfc/rfc4627.txt
It leaves it up to the application how to interpret and store
integers. It would be standard-conforming to only allow "0" and "1".
While qemu is technically correct, in practice it's being very
unhelpful
On Mon, May 23, 2011 at 02:26:05PM +0100, Stefan Hajnoczi wrote:
> On Mon, May 23, 2011 at 2:21 PM, Anthony Liguori wrote:
> > On 05/23/2011 08:09 AM, Stefan Hajnoczi wrote:
> >>
> >> On Mon, May 23, 2011 at 1:50 PM, Anthony Liguori
> >> wrote:
> >>>
> >>> On 05/23/2011 04:45 AM, Daniel P. Berran
> +if (lstat(filename, &sb) < 0) {
> +fprintf(stderr, "%s: stat failed: %s\n", filename,
> strerror(errno));
> +return -errno;
> +}
> +
> +if (S_ISBLK(sb.st_mode))
> +filename = raw_get_rawdevice(filename);
Please move the lstat and S_ISBLK check into raw_get_r
The actual value of the alert will surprise you :-)
Integers in Javascript are actually represented as doubles
internally which means that integer constants are only accurate up
to 52 bits.
So really, we should cap integers at 32-bit :-/
Have I mentioned recently that I really dislike JSON...
On 05/22/2011 01:12 PM, Max Filippov wrote:
> This is also done by gen_load_store_alignment.
> Does it really worth copying part of this logic to do_unaligned_access just
> to use ALIGNED_ONLY framework?
Yes, because it is done out-of-line, as a part of the TLB load slow path.
r~
On 05/23/11 15:42, Christoph Hellwig wrote:
+if (lstat(filename,&sb)< 0) {
+fprintf(stderr, "%s: stat failed: %s\n", filename,
strerror(errno));
+return -errno;
+}
+
+if (S_ISBLK(sb.st_mode))
+filename = raw_get_rawdevice(filename);
Please move the lstat and
On Mon, 23 May 2011 08:50:55 -0500
Anthony Liguori wrote:
> >> The actual value of the alert will surprise you :-)
> >>
> >> Integers in Javascript are actually represented as doubles
> >> internally which means that integer constants are only accurate up
> >> to 52 bits.
> >>
> >> So really, we
Hi,
Gerd, this is more or less a copy of a mail I send you directly earlier
before I saw this pull request.
NACK for this one, rational:
While working on re-basing / re-doing my usb network redirection code for qemu,
on top of
your usb.12 I've hit a problem caused by the move of the async canc
On 05/23/2011 09:02 AM, Luiz Capitulino wrote:
On Mon, 23 May 2011 08:50:55 -0500
Anthony Liguori wrote:
The actual value of the alert will surprise you :-)
Integers in Javascript are actually represented as doubles
internally which means that integer constants are only accurate up
to 52 bits
Am 23.05.2011 14:34, schrieb Christoph Egger:
>
> if given a block device, use the character device instead.
>
> From: Manuel Bouyer
> Signed-off-by: Christoph Egger
A useful commit message would explain why you're doing that.
>
> diff --git a/block/raw-posix.c b/block/raw-posix.c
> index 6b
On 2011-05-23 15:14, Markus Armbruster wrote:
> Jan Kiszka writes:
>
>> On 2011-05-23 11:28, Markus Armbruster wrote:
>>> Jan Kiszka writes:
>>>
Include the client type name into the output of 'info network'. The
result looks like this:
(qemu) info network
VLAN 0 devices
On Mon, May 23, 2011 at 08:50:55AM -0500, Anthony Liguori wrote:
> >>The actual value of the alert will surprise you :-)
> >>
> >>Integers in Javascript are actually represented as doubles
> >>internally which means that integer constants are only accurate up
> >>to 52 bits.
> >>
> >>So really, we
Am 20.05.2011 21:53, schrieb Blue Swirl:
> On Fri, May 20, 2011 at 10:42 PM, Anthony Liguori
> wrote:
>> On 05/20/2011 02:25 PM, Blue Swirl wrote:
>>>
>>> On Fri, May 20, 2011 at 9:48 PM, Corey Bryant wrote:
sVirt provides SELinux MAC isolation for Qemu guest processes and their
c
Anthony Liguori writes:
>>> The actual value of the alert will surprise you :-)
>>>
>>> Integers in Javascript are actually represented as doubles
>>> internally which means that integer constants are only accurate up
>>> to 52 bits.
>>>
>>> So really, we should cap integers at 32-bit :-/
>>>
>>>
On Mon, May 23, 2011 at 04:29:55PM +0200, Markus Armbruster wrote:
> Anthony Liguori writes:
>
> >>> The actual value of the alert will surprise you :-)
> >>>
> >>> Integers in Javascript are actually represented as doubles
> >>> internally which means that integer constants are only accurate up
Hi,
The problem is that the USBDevice lifetime may be shorter then the
USBPacket lifetime, USBPackets are created by uhci.c (for example),
where as the device is managed from the monitor (for example), doing
a usb_del in the monitor using the guest bus:addr will call
usb_device_delete_addr, wh
Anthony Liguori writes:
> On 05/23/2011 05:30 AM, Daniel P. Berrange wrote:
>> It feels to me that turning the current block driver code which just does
>> open(2) on files, into something which issues events& asynchronously
>> waits for a file would potentially be quite complex.
>>
>> You also
Spill globals early if their next use is in call. They'll be spilled
anyway in this case.
Signed-off-by: Kirill Batuzov
---
tcg/tcg.c | 18 ++
1 files changed, 18 insertions(+), 0 deletions(-)
diff --git a/tcg/tcg.c b/tcg/tcg.c
index 8ab556d..ad5bd71 100644
--- a/tcg/tcg.c
+++
Keep track of where is the next call for each TCG operation.
Signed-off-by: Kirill Batuzov
---
tcg/tcg.c | 11 +++
tcg/tcg.h |2 ++
2 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/tcg/tcg.c b/tcg/tcg.c
index 61689e2..799b245 100644
--- a/tcg/tcg.c
+++ b/tcg/tcg.c
@@
Propagate next use of each register through process of register allocation.
This would be needed to do a better spill choice.
Signed-off-by: Kirill Batuzov
---
tcg/tcg.c | 36 +---
1 files changed, 33 insertions(+), 3 deletions(-)
diff --git a/tcg/tcg.c b/tcg/t
Compute next use for each operation argument.
Signed-off-by: Kirill Batuzov
---
tcg/tcg.c | 73 -
tcg/tcg.h |4 +++
2 files changed, 71 insertions(+), 6 deletions(-)
diff --git a/tcg/tcg.c b/tcg/tcg.c
index 8748c05..821ffa7 10064
Gather generated spills statistics. It is useful for debugging and evaluating
of new register allocator.
Signed-off-by: Kirill Batuzov
---
tcg/tcg.c | 69 +
tcg/tcg.h |6 +
2 files changed, 75 insertions(+), 0 deletions(-)
d
Spill globals early if their next use is at the BB end. They'll be spilled
anyway in this case.
Signed-off-by: Kirill Batuzov
---
tcg/tcg.c | 13 +
1 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/tcg/tcg.c b/tcg/tcg.c
index ad5bd71..022eef9 100644
--- a/tcg/tcg.c
++
Adjust next use for call-clobbered registers.
Signed-off-by: Kirill Batuzov
---
tcg/tcg.c | 12
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/tcg/tcg.c b/tcg/tcg.c
index 799b245..8ab556d 100644
--- a/tcg/tcg.c
+++ b/tcg/tcg.c
@@ -2125,6 +2125,9 @@ static inline i
This series improves register allocator by keeping track of temp's and
register's live ranges, doing better spill choice and spilling early unneeded
globals.
The patches do need testing and performance evaluation before they will be
ready for final review. I decided to preliminary post them becau
Choose register with farthest next use for spilling.
Signed-off-by: Kirill Batuzov
---
tcg/tcg.c | 21 +
1 files changed, 21 insertions(+), 0 deletions(-)
diff --git a/tcg/tcg.c b/tcg/tcg.c
index c6e920e..61689e2 100644
--- a/tcg/tcg.c
+++ b/tcg/tcg.c
@@ -1528,6 +1528,9 @@
For isolating slirp-attached guests from the world, QEMU provides the
restricted mode. However, its implementation suffers from bugs that
makes it practically unusable. Most probablematic is broken DHCP.
This series fixes that and canonicalizes the corresponding command line
switch. It also cleans
This aligns the code to what the documentation claims: Allow everything
but requests that would have to be routed outside of the virtual LAN.
So we need to drop the unneeded IP-level filter, allow TFTP requests,
and add the missing protocol-level filter to ICMP.
CC: Gleb Natapov
Signed-off-by: J
Remove this pointless wrapping.
Signed-off-by: Jan Kiszka
---
slirp/ip_icmp.c |6 +++---
slirp/ip_input.c |8
slirp/ip_output.c |4 ++--
slirp/mbuf.h |3 ---
slirp/tcp_input.c | 10 +-
slirp/tcp_subr.c |2 +-
slirp/udp.c |2 +-
7 files ch
Instead of accepting every DHCP/BOOTP and TFTP packet, only invoke the
built-in servers if the target is the virtual host.
Signed-off-by: Jan Kiszka
---
slirp/udp.c | 13 -
1 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/slirp/udp.c b/slirp/udp.c
index f1a9a10..cefd5
1 - 100 of 230 matches
Mail list logo