Re: [Qemu-discuss] Problem converting from vmdk to raw format

2016-02-01 Thread Jakob Bohm

  
  
qemu-img used the "sparse file"
feature of your file system to not 
actually allocate disk sectors for many of the all-zero blocks
in 
the raw file.  Your iso creation tool did not.
  
  On 01/02/2016 05:42, Alexandre Schenberg wrote:


  thanks, was a permission problem, to change it solved the issue
 I have another doubt, converting it to raw generate a 126.9GB file.
 However df shows that the space used in the partition is only 8.x GB.
 And now I am converting the raw file to an iso file and the iso is
 really occupying space.
 So why the space occupied by the raw file seems to do not exists and
 the one from Iso does?
 And why the Iso is becaming so big?

 Thanks for the aid.

2016-02-01 2:40 GMT-02:00, Fam Zheng :

  
On Mon, 02/01 01:53, Alexandre Schenberg wrote:


  Hello, I tried to convert a .vmdk file to a raw file with this
command: "qemu-img convert -f vmdk /media/windows/WinXP-disk1.vmdk
winxp.raw"

The result was: "qemu-img: Could not open
'/media/windows/WinXP-disk1.vmdk"

I am sure that the vmdk file, WinXP-disk1.vmdk it is in the dir
/media/windows

So what I am doing wrongly?


Which qemu-img version are you using? Or which commit in the case of git
tree?

  



  Enjoy

Jakob
-- 
Jakob Bohm, CIO, Partner, WiseMo A/S.  https://www.wisemo.com
Transformervej 29, 2860 Søborg, Denmark.  Direct +45 31 13 16 10
This public discussion message is non-binding and may contain errors.
WiseMo - Remote Service Management for PCs, Phones and Embedded



  




[Qemu-discuss] QEMU GD5446 Problems with WfW 3.11 and Windows 95

2016-02-01 Thread Kutscherauer Wolfgang sen.
Hello,

I try actually to setup a Windows for Workgroups (WfW 3.11) in qemu.
With -vga vmware and a patched svg256.drv i could use up to 1024x768
with 256 colours.

Every time i try -vga cirrus and ANY! GD5446 driver disk i get a damaged
screen or the message, that WfW 3.11 could not init the video card.
A lot of searches later there is no solution for this.
Does anyone succeeded to use WfW 3.11 on qemu with more than 256 colours?

On Windows 95 the system says that there is no GD5446 in the PC (qemu).
Does anyone succeed to run Win 95 in qemu with -vga cirrus at i.e.
1024x768 with 16Bit depth?

Best regards

qemu newbee
Wolfgang
Bavaria




Re: [Qemu-discuss] qemu-system_x86_64 CPU pinning

2016-02-01 Thread Bhattiprolu RaviKumar
Alex, Varun,
  Did the patch work for you? If you have done any improvements, can you
please share the same?

regards,
Ravi

On Thu, Jan 21, 2016 at 10:18 PM, Bhattiprolu RaviKumar <
ravikumar.bhattipr...@gmail.com> wrote:

> All,
>
>   Attached is the patch over qemu-2.4.1. I have tested this on Centos7.1
> with CentOS VMs using KVM. I am not sure how it effects other platforms.
>
> It adds a new parameter "-vcpu" to command line. The usage example is "
> -vcpu 0,affinity=20" (pin VCPU 0 to CPU ID 20). Please see if it helps you.
>
> regards,
> Ravi
>
> On Thu, Jan 21, 2016 at 3:56 PM, alex3kov  wrote:
>
>> I'm interested in that as well. Would you mind proposing your patch
>> upstream?
>>
>>
>>  On Thu, 21 Jan 2016 13:09:28 +0400 *Bhattiprolu RaviKumar
>> >*wrote
>> 
>>
>> Varun,
>> I also have a similar requirement. I had patched the code over qemu
>> 2.4.1 to add extra options to pin a VCPU to a physical CPU. I am not sure
>> why this option is not there in qemu. (or I am not aware). If you use the
>> taskset all the VCPU threads are getting same mask.
>>
>> If you are interested, I can post the patch above qemu 2.4.1
>> regards,
>> Ravi
>>
>>
>>
>