Re: Flow Control and Port Mirroring Revisited

2011-01-23 Thread Michael S. Tsirkin
On Sun, Jan 23, 2011 at 05:38:49PM +1100, Simon Horman wrote: On Sat, Jan 22, 2011 at 11:57:42PM +0200, Michael S. Tsirkin wrote: On Sat, Jan 22, 2011 at 10:11:52AM +1100, Simon Horman wrote: On Fri, Jan 21, 2011 at 11:59:30AM +0200, Michael S. Tsirkin wrote: On Thu, Jan 20, 2011 at

ms_sysenter_eip zero value

2011-01-23 Thread Matteo Signorini
Hi, I'm having some problems understanding the sysenter instruction. As far as I know, in order to successfully call the sysenter instruction, MSR_IA32_SYSENTER_CS and MSR_IA32_SYSENTER_EIP registers have to be correctly set. So I printed the value of such registers while the VM was running but

Re: Flow Control and Port Mirroring Revisited

2011-01-23 Thread Simon Horman
On Sun, Jan 23, 2011 at 12:39:02PM +0200, Michael S. Tsirkin wrote: On Sun, Jan 23, 2011 at 05:38:49PM +1100, Simon Horman wrote: On Sat, Jan 22, 2011 at 11:57:42PM +0200, Michael S. Tsirkin wrote: On Sat, Jan 22, 2011 at 10:11:52AM +1100, Simon Horman wrote: On Fri, Jan 21, 2011 at

ATA Trim for qcow(2)

2011-01-23 Thread Emil Langrock
Hi, there is support for ext4 to use the trim ATA command when a block is freed. I read that there should be an extra command which does that freeing afterwards. So is it possible to use that information inside the qcow to mark those sectors as free? This would make it possible to shrink the

Re: ATA Trim for qcow(2)

2011-01-23 Thread Matthew Palmer
On Sun, Jan 23, 2011 at 10:35:45PM +0100, Emil Langrock wrote: there is support for ext4 to use the trim ATA command when a block is freed. I read that there should be an extra command which does that freeing afterwards. So is it possible to use that information inside the qcow to mark

[PATCH 0/3] KVM autotest cleanup

2011-01-23 Thread Lucas Meneghel Rodrigues
When working on the library moving patches, I realized that my life would be much easier if I cleaned up the large amount of unused imports that our tests accumulated over the time. So I took the time and cleaned up some other easy parts of our tests and cleanup. Please rebase against latest

[PATCH 2/3] KVM test: Infrastructure cleanups

2011-01-23 Thread Lucas Meneghel Rodrigues
Following the same logic as the previous patch, go through the modules and clean up unneeded modules from the core infrastructure. Obviously only the safe, low-hanging fruit cleanups were made. Signed-off-by: Lucas Meneghel Rodrigues l...@redhat.com --- client/tests/kvm/cd_hash.py |

[PATCH 3/3] Removing unused imports from guest scripts

2011-01-23 Thread Lucas Meneghel Rodrigues
Signed-off-by: Lucas Meneghel Rodrigues l...@redhat.com --- client/tests/kvm/scripts/ksm_overcommit_guest.py |2 +- client/tests/kvm/scripts/virtio_console_guest.py |4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/client/tests/kvm/scripts/ksm_overcommit_guest.py

Re: ATA Trim for qcow(2)

2011-01-23 Thread Stefan Hajnoczi
On Sun, Jan 23, 2011 at 9:35 PM, Emil Langrock emil.langr...@gmx.de wrote: there is support for ext4 to use the trim ATA command when a block is freed. I read that there should be an extra command which does that freeing afterwards. So is it possible to use that information inside the qcow to

Re: [REPOST] [PATCH 3/3] Provide control over unmapped pages (v3)

2011-01-23 Thread Balbir Singh
* Christoph Lameter c...@linux.com [2011-01-21 09:55:17]: On Fri, 21 Jan 2011, Balbir Singh wrote: * Christoph Lameter c...@linux.com [2011-01-20 09:00:09]: On Thu, 20 Jan 2011, Balbir Singh wrote: + unmapped_page_control + [KNL] Available if