RE: Disabling mergeable rx buffers for the guest

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Paolo,

For some unknown reason it suddenly started to accept the changes to the XML and the strings you gave me are now in place.
Upon machine start I now receive the following error messages:

virsh # start NaorDev
error: Failed to start domain NaorDev
error: internal error Process exited while reading console log output: kvm: -global: requires an argument"

Here's the XML:

<domain type='qemu' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
  <name>NaorDev</name>
  <uuid>60b5a0ab-8932-47c1-8674-760c7e1f4743</uuid>
  <memory>2118656</memory>
  <currentMemory>2118656</currentMemory>
  <vcpu>1</vcpu>
  <os>
    <type arch='x86_64' machine='pc-1.0'>hvm</type>
    <boot dev='hd'/>
  </os>
  <features>
    <acpi/>
    <apic/>
    <pae/>
  </features>
  <clock offset='utc'/>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>restart</on_crash>
  <devices>
    <emulator>/usr/bin/kvm</emulator>
    <disk type='file' device='disk'>
      <driver name='qemu' type='raw' cache='writeback'/>
      <source file='/var/lib/libvirt/images/NaorDev.img'/>
      <target dev='vda' bus='virtio'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
    </disk>
    <disk type='file' device='disk'>
      <driver name='qemu' type='qcow2' cache='none'/>
      <source file='/var/lib/libvirt/images/NaorAddonHdd.qcow'/>
      <target dev='vdb' bus='virtio'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/>
    </disk>
    <controller type='ide' index='0'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
    </controller>
    <interface type='bridge'>
      <mac address='52:54:00:c6:b7:a3'/>
      <source bridge='mngmnt'/>
      <model type='virtio'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
    </interface>
    <interface type='bridge'>
      <mac address='52:54:00:9e:44:90'/>
      <source bridge='client'/>
      <model type='virtio'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
    </interface>
    <interface type='bridge'>
      <mac address='52:54:00:e7:f9:bf'/>
      <source bridge='server'/>
      <model type='virtio'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
    </interface>
    <serial type='pty'>
      <target port='0'/>
    </serial>
    <console type='pty'>
      <target type='serial' port='0'/>
    </console>
    <input type='mouse' bus='ps2'/>
    <graphics type='vnc' port='-1' autoport='yes'/>
    <video>
      <model type='cirrus' vram='9216' heads='1'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
    </video>
    <memballoon model='virtio'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
    </memballoon>
  </devices>
  <qemu:commandline>
    <qemu:arg value='-global'/>
    <qemu:env name='mrg_rxbuf' value='off'/>
  </qemu:commandline>
</domain>

Naor

-----Original Message-----
From: Paolo Bonzini [mailto:pbonzini@xxxxxxxxxx] 
Sent: Tuesday, July 16, 2013 12:36 PM
To: Naor Shlomo
Cc: kvm@xxxxxxxxxxxxxxx
Subject: Re: Disabling mergeable rx buffers for the guest

Il 16/07/2013 10:06, Naor Shlomo ha scritto:
> Thanks again Paolo,
> 
> I used your string and read the documents in the site you referred me to but could not understand why doesn't it accept the xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0' string.
> 
> I tried it on the following version:
> Compiled against library: libvir 0.9.8 Using library: libvir 0.9.8 
> Using API: QEMU 0.9.8 Running hypervisor: QEMU 1.0.0
> 
> So according to the site it should be supported.
> 
> Any idea what am I missing now?

Not sure.  Can you post here the full XML, and the one you're trying to use?

Paolo

> Naor
> 
> -----Original Message-----
> From: Paolo Bonzini [mailto:pbonzini@xxxxxxxxxx]
> Sent: Tuesday, July 16, 2013 9:42 AM
> To: Naor Shlomo
> Cc: kvm@xxxxxxxxxxxxxxx
> Subject: Re: Disabling mergeable rx buffers for the guest
> 
> Il 16/07/2013 08:40, Naor Shlomo ha scritto:
>> Hi Paolo and thanks for your quick reply,
>>
>> I tried editing (virsh edit) the domain's XML and put the XML excerpt you gave me everywhere but with no success.
>> The moment I exit the edit mode the text was gone (I guess it didn't pass some sort of sanity and that's why it was automatically erased).
>>
>> What am I doing wrong?
> 
> My fault.  You need to change the <domain> opening tag to
> 
> <domain type='qemu' 
> xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
> 
> See http://libvirt.org/drvqemu.html#qemucommand for the docs.
> 
> Paolo
> 

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux